Hoa central
Public Member Functions | List of all members
Hoa\Core\Exception\Error Class Reference
Inheritance diagram for Hoa\Core\Exception\Error:

Public Member Functions

 __construct ($message, $code, $file, $line, Array $trace=[])
 
- Public Member Functions inherited from Hoa\Core\Exception\Exception
 __construct ($message, $code=0, $arguments=[], $previous=null)
 
 send ()
 
- Public Member Functions inherited from Hoa\Core\Exception\Idle
 __construct ($message, $code=0, $arguments=[],\Exception $previous=null)
 
 getBacktrace ()
 
 getPreviousThrow ()
 
 getArguments ()
 
 getRawMessage ()
 
 getFormattedMessage ()
 
 getFrom ()
 
 raise ($previous=false)
 
 __toString ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Hoa\Core\Exception\Idle
static uncaught ($exception)
 
static error ($errno, $errstr, $errfile, $errline)
 
- Protected Attributes inherited from Hoa\Core\Exception\Idle
 $_tmpArguments = null
 
 $_arguments = null
 
 $_trace = null
 
 $_previous = null
 
 $_rawMessage = null
 

Detailed Description

Class .

This exception is the equivalent representation of PHP errors.

Definition at line 389 of file Exception.php.

Constructor & Destructor Documentation

Hoa\Core\Exception\Error::__construct (   $message,
  $code,
  $file,
  $line,
Array  $trace = [] 
)

Constructor.

Parameters
string$messageMessage.
int$codeCode (the ID).
string$fileFile.
int$lineLine.
array$traceTrace.

Definition at line 400 of file Exception.php.

406  {
407  $this->file = $file;
408  $this->line = $line;
409  $this->_trace = $trace;
410 
411  parent::__construct($message, $code);
412 
413  return;
414  }

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