Class APIException
Class for exceptions when there is a network error, status code error, etc.
- Exception
- Inventorus\APIException
public
|
#
__construct( string $reason, integer $responseCode, string $responseBody )
The HTTP response code from the API request |
public
integer
|
|
public
mixed
|
|
public
string
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
$code,
$file,
$line,
$message
|