Table of Contents
Methods
-
__construct()
: mixed
-
addError()
: static
-
getErrors()
: ErrorCollection
-
setErrors()
: static
__construct()
public
__construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
-
$message
: string
= ''
-
-
$code
: int
= 0
-
-
$previous
: Throwable|null
= null
-
addError()
public
addError(Error $error) : static
Parameters
-
$error
: Error
-
getErrors()
public
getErrors() : ErrorCollection
Return values
ErrorCollection
setErrors()
public
setErrors(ErrorCollection $errors) : static
Parameters
-
$errors
: ErrorCollection
-