|
| | __construct (string $message, array $errors=[], int $code=0, \Exception $previous=null) |
| |
| | getErrors () |
| |
Class ResponseException
A ResponseException being thrown is generally a problem with client or request config.
◆ __construct()
| __construct |
( |
string |
$message, |
|
|
array |
$errors = [], |
|
|
int |
$code = 0, |
|
|
\Exception |
$previous = null |
|
) |
| |
Initializes the class
- Parameters
-
| string | $message | |
| array | $errors | |
| int | $code | |
| \Exception | $previous | |
Reimplemented in ResultException.
◆ getErrors()
Get response errors as an array
- Returns
- array
◆ $errors