ErrorException class

ErrorException

Extends Exception

Implements: Throwable, Stringable

Properties #

$severity
-

$severity

protected int $severity = 1

Methods #

__construct()
-
getSeverity()
-

__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

Inherited methods #