Property | Type | Description | |
---|---|---|---|
$errors | list of error messages | ||
$message | exception message |
Method | Description | |
---|---|---|
exception ( string $key, string $error ) : self | Create and throw Exception | |
getErrors ( ) : array | Get errors | |
setError ( string $key, string $error ) : void | Set error by Key | |
setErrors ( array $errors ) : void | Set errors |