class Error

Class Error.

Properties

protected string $code
protected string $message

Methods

__construct(string|null $code = '', string|null $message = '')

Error constructor.

string|null
getCode()

No description

setCode(string|null $code)

No description

string|null
getMessage()

No description

setMessage(string|null $message)

No description

Details

at line 31
__construct(string|null $code = '', string|null $message = '')

Error constructor.

Parameters

string|null $code
string|null $message

at line 40
string|null getCode()

Return Value

string|null

at line 50
Error setCode(string|null $code)

Parameters

string|null $code

Return Value

Error

at line 60
string|null getMessage()

Return Value

string|null

at line 70
Error setMessage(string|null $message)

Parameters

string|null $message

Return Value

Error