Class Error

Description

Error handling class, based off of the ErrorHandler script 2.0.1 from http://gosu.pl/software/mygosulib.html. Heavily modified.

Please note that this class relies as little as possible on other classes within this framework so that we can avoid as many failure points as possible.

  • author: Cezary Tomczak

Located in /errors/Error.php (line 23)


	
			
Method Summary
ErrorHandler __construct ()
string getErrorFile ()
array getErrorInfo ()
string getErrorLine ()
string getErrorMessage ()
string getErrorNo ()
array getErrorTrace ()
string getErrorType ()
void raise ([integer $errNo = false], [string $errMsg = 'An unidentified error occurred.'], [string $file = false], [integer $line = false])
Methods
Constructor __construct (line 78)
  • abstract: Handles our error logging/display
  • access: public
ErrorHandler __construct ()
getErrorFile (line 126)
  • abstract: Returns the error file
  • access: public
string getErrorFile ()
getErrorInfo (line 136)
  • abstract: Returns the error information array
  • access: public
array getErrorInfo ()
getErrorLine (line 116)
  • abstract: Returns the error line
  • access: public
string getErrorLine ()
getErrorMessage (line 96)
  • abstract: Returns the error message
  • access: public
string getErrorMessage ()
getErrorNo (line 86)
  • abstract: Returns the error number
  • access: public
string getErrorNo ()
getErrorTrace (line 146)
  • abstract: Returns the error trace
  • access: public
array getErrorTrace ()
getErrorType (line 106)
  • abstract: Returns the error type
  • access: public
string getErrorType ()
raise (line 160)
  • abstract: Raises a new error message
  • access: public
void raise ([integer $errNo = false], [string $errMsg = 'An unidentified error occurred.'], [string $file = false], [integer $line = false])
  • integer $errNo
  • string $errMsg
  • string $file
  • integer $line

Documentation generated on Wed, 15 Apr 2009 17:03:40 -0700 by phpDocumentor 1.4.1