TaskError
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- fromArray() : self
Properties
$code read-only
public
string
$code
$link read-only
public
string
$link
$message read-only
public
string
$message
$type read-only
public
string
$type
Methods
__construct()
public
__construct(non-empty-string $message, non-empty-string $code, non-empty-string $type, non-empty-string $link) : mixed
Parameters
- $message : non-empty-string
- $code : non-empty-string
- $type : non-empty-string
- $link : non-empty-string
fromArray()
public
static fromArray(array{message: non-empty-string, code: non-empty-string, type: non-empty-string, link: non-empty-string} $data) : self
Parameters
- $data : array{message: non-empty-string, code: non-empty-string, type: non-empty-string, link: non-empty-string}