php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ErrorException Class Reference
Inheritance diagram for ErrorException:
Exception Throwable Stringable

Public Member Functions

 __construct (string $message="", int $code=0, int $severity=E_ERROR, ?string $filename=null, ?int $line=null, ?Throwable $previous=null)
 
 getSeverity ()
 
- Public Member Functions inherited from Exception
 __construct (string $message="", int $code=0, ?Throwable $previous=null)
 
 __wakeup ()
 
 getMessage ()
 
 getCode ()
 
 getFile ()
 
 getLine ()
 
 getTrace ()
 
 getPrevious ()
 
 getTraceAsString ()
 
 __toString ()
 

Protected Attributes

int $severity = E_ERROR
 
- Protected Attributes inherited from Exception
 $message = ""
 
 $code = 0
 
string $file = ""
 
int $line = 0
 

Detailed Description

Definition at line 68 of file zend_exceptions.stub.php.

Constructor & Destructor Documentation

◆ __construct()

ErrorException::__construct ( string $message = "",
int $code = 0,
int $severity = E_ERROR,
?string $filename = null,
?int $line = null,
?Throwable $previous = null )

Definition at line 72 of file zend_exceptions.stub.php.

Member Function Documentation

◆ getSeverity()

ErrorException::getSeverity ( )
final

Definition at line 81 of file zend_exceptions.stub.php.

Field Documentation

◆ $severity

int ErrorException::$severity = E_ERROR
protected

Definition at line 70 of file zend_exceptions.stub.php.


The documentation for this class was generated from the following file: