FileValidationException
class FileValidationException extends RuntimeException (View source)
Provides an exception for upload validation errors.
Properties
| protected array | $errors | The validation errors. |
|
| protected string | $fileName | The file name. |
Methods
__construct(string $message, string $file_name, array $errors)
Constructs a new FileValidationException.
string
getFilename()
Gets the file name.
array
getErrors()
Gets the errors.
Details
__construct(string $message, string $file_name, array $errors)
Constructs a new FileValidationException.
string
getFilename()
Gets the file name.
array
getErrors()
Gets the errors.