KickassCryptoException
extends Exception
in package
2023-04-05 jj5 - this exception is thrown from crypto service constructors (and elsewhere) if there's a problem that will prevent them from operating.
Table of Contents
- $data : mixed
- __construct() : mixed
- 2023-04-07 jj5 - creates a new instance of this class; calls the parent constructor and records the associated data, if any.
- getData() : mixed
- 2023-04-07 jj5 - an accessor for the associated data, if any.
Properties
$data
private
mixed
$data
Methods
__construct()
2023-04-07 jj5 - creates a new instance of this class; calls the parent constructor and records the associated data, if any.
public
__construct(string $message, int $code[, Throwable $previous = null ][, mixed $data = null ]) : mixed
Parameters
- $message : string
-
the exception message.
- $code : int
-
the exception code.
- $previous : Throwable = null
-
the previous exception or null if none.
- $data : mixed = null
-
optional data to associate with this exception.
Return values
mixed —getData()
2023-04-07 jj5 - an accessor for the associated data, if any.
public
getData() : mixed
Return values
mixed —can be antying.