ErrorException::__construct
ErrorException::__construct
Constructs the exception
**ErrorException::__construct** string $message int $code int $severity $filename $line $previous
Constructs the Exception.
messageThe Exception message to throw.
codeThe Exception code.
severityThe severity level of the exception.
Opmerking: > While the severity can be any value, it is intended that the be used.
interror constants
filenameThe filename where the exception is thrown.
lineThe line number where the exception is thrown.
previousThe previous exception used for the exception chaining.