Symfony\Component\Debug\Exception\ContextErrorException
Error Exception with Variable Context.
- Author: Christian Sciberras <uuf6429@gmail.com>
Synopsis
class ContextErrorException
extends ErrorException
{
- // members
- private array $context;
- // Inherited members from ErrorException
- protected $severity;
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // Inherited members from Exception
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // methods
- public void __construct()
- public array getContext()
- // Inherited methods from ErrorException
- public void __construct()
- public final int getSeverity()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
Hierarchy
Extends
Members
private
- $context
protected
- $code
—
int
The exception code - $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message - $message
—
string
The exception message - $severity
—
int
The severity of the exception
Methods
public
Inherited from ErrorException
public
- __toString()
- getCode()
- getFile()
- getLine()
- getMessage()
- getPrevious()
- getSeverity() — Gets the exception severity
- getTrace()
- getTraceAsString()
Inherited from Exception
public
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception occurred
- getLine() — Gets the line in which the exception occurred
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string