DataValidatorException
extends Exception
in package
Data validator exception class
Table of Contents
Properties
- $description : string
- $errors : array<string|int, mixed>
- Errors
- $title : string
Methods
- __construct() : mixed
- Constructor
- getDescription() : string
- Get description
- getErrors() : array<string|int, mixed>
- Get errors
- getTitle() : string
- Get title
Properties
$description
protected
string
$description
= ''
$errors
Errors
protected
array<string|int, mixed>
$errors
= []
$title
protected
string
$title
= ''
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed> $errors[, string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $errors : array<string|int, mixed>
- $message : string = ''
- $code : int = 0
- $previous : Throwable|null = null
getDescription()
Get description
public
getDescription() : string
Return values
stringgetErrors()
Get errors
public
getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>getTitle()
Get title
public
getTitle() : string