ErrorException class
ErrorException
Extends Exception
Implements:
Throwable, Stringable
Properties #
$severity
protected int $severity = 1
Methods #
__construct()
public function __construct(string $message = '', int $code = 0, int $severity = 1, ?string $filename = NULL, ?int $line = NULL, ?Throwable $previous = NULL)
Parameters
- string $message
- int $code
- int $severity
- ?string $filename
- ?int $line
- ?Throwable $previous
getSeverity()
public final function getSeverity(): int
Returns
int