Search Results
Gets the exception severity ErrorException::getSeverity (PHP 5 >= 5.1.0, PHP 7, PHP 8) ErrorException::getSeverity — Gets the exception severity
ErrorException::getSeverity (PHP 5 >= 5.1.0, PHP 7, PHP 8) ErrorException::getSeverity — Gets the exception severity Description final public ErrorException::getSeverity ( ) : int Returns the severity of the exception. Parameters This function has no parameters. Return Values Returns the severity level of the exception. Examples Example #1 ErrorException::getSeverity() example <?php try ...
ErrorException::getSeverity (PHP 5 >= 5.1.0, PHP 7) ErrorException::getSeverity — Gets the exception severity
Sommaire ErrorException::__construct — Construit l'exception ErrorException::getSeverity — Récupère la sévérité de l'exception
May 29, 2012 · Because when I throw new Exception('test'); I get a Fatal error: Call to undefined method Exception::getSeverity(). But when I throw new ErrorException('test'); it works as expected.
{"payload":{"allShortcutsEnabled":false,"fileTree":{"language/predefined/errorexception":{"items":[{"name":"construct.xml","path":"language/predefined/errorexception ...
(PHP 5 >= 5.1.0, PHP 7) ErrorException::getSeverity — Gets the exception severity
