ResponseError
in package
implements
Stringable
Class ResponseError.
Interfaces, Classes, Traits and Enums
- Stringable
Table of Contents
- $error : string
- $errorNumber : int
- $info : array<string|int, mixed>
- $request : Request
- __construct() : mixed
- __toString() : string
- getError() : string
- getErrorNumber() : int
- getInfo() : array<string|int, mixed>
- getRequest() : Request
Properties
$error
protected
string
$error
$errorNumber
protected
int
$errorNumber
$info
protected
array<string|int, mixed>
$info
$request
protected
Request
$request
Methods
__construct()
public
__construct(Request $request, string $error, int $errorNumber, array<string|int, mixed> $info) : mixed
Parameters
- $request : Request
- $error : string
- $errorNumber : int
- $info : array<string|int, mixed>
Return values
mixed —__toString()
public
__toString() : string
Return values
string —getError()
public
getError() : string
Return values
string —getErrorNumber()
public
getErrorNumber() : int
Return values
int —getInfo()
public
getInfo() : array<string|int, mixed>
Return values
array<string|int, mixed> —getRequest()
public
getRequest() : Request