BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Error Class Reference
Inheritance diagram for Error:
Collaboration diagram for Error:

Public Member Functions

 __construct ($message="", $code=0, Throwable $previous=null)
 
 getMessage ()
 
 getCode ()
 
 getFile ()
 
 getLine ()
 
 getTrace ()
 
 getTraceAsString ()
 
 getPrevious ()
 
 __toString ()
 

Detailed Description

Error is the base class for all internal PHP error exceptions. 7.0

Constructor & Destructor Documentation

Member Function Documentation

Error::__toString ( )

Gets a string representation of the thrown object string Returns the string representation of the thrown object.

Since
7.0

Implements Throwable.

Error::getCode ( )

Gets the exception code int Returns the exception code as integer in {

See Also
Exception} but possibly as other type in {
Exception} descendants (for example as string in {
PDOException}).
Since
7.0

Implements Throwable.

Error::getFile ( )

Gets the file in which the exception occurred string Returns the name of the file from which the object was thrown. 7.0

Implements Throwable.

Error::getLine ( )

Gets the line on which the object was instantiated int Returns the line number where the thrown object was instantiated. 7.0

Implements Throwable.

Error::getMessage ( )

Gets the message string 7.0

Implements Throwable.

Error::getTrace ( )

Gets the stack trace array Returns the stack trace as an array in the same format as {

See Also
debug_backtrace()}.
Since
7.0

Implements Throwable.

Error::getTraceAsString ( )

Gets the stack trace as a string string Returns the stack trace as a string. 7.0

Implements Throwable.


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