Ntb\RestAPI\RestSystemException::__construct
RestSystemException constructor.
Signature
public function __construct(string
$message,
int
$errorCode,
[integer
$httpStatusCode = 500] )
Parameters
$message
— string- the error message
$errorCode
— int- the error code of the api
$httpStatusCode
— integer- the http status code in the response; Default=500