/class/error.class.php

Description

error.class.php

This contains the custom error handler for SquirrelMail.

Classes
Class Description
ErrorHandler Error Handler class
Constants
E_STRICT = 2048 (line 21)
SQM_ERROR = 2 (line 17)
SQM_NOTICE = 0 (line 15)

Used defines

SQM_STRICT = 3 (line 18)
SQM_WARNING = 1 (line 16)
Functions
sqm_trigger_error (line 333)

Trigger an error.

  • author: Marc Groot Koerkamp
  • since: 1.5.1
void sqm_trigger_error (string $sErrNo, [array $aExtra = array()])
  • string $sErrNo: error string defined in errors.php
  • array $aExtra: optional associative array with extra error info
sqm_trigger_imap_error (line 316)

Triggers an imap error. Utility function for sqm_trigger_error()

  • author: Marc Groot Koerkamp
  • since: 1.5.1
void sqm_trigger_imap_error (string $sErrNo, string $sRequest, string $sResponse, string $sMessage, [array $aExtra = array()])
  • string $sErrNo: error string defined in errors.php
  • string $sRequest: imap request string
  • string $sResponse: tagged imap response
  • string $sMessage: tagged imap response message
  • array $aExtra: optional associative array with extra error info
SquirrelMailErrorhandler (line 296)

Custom Error handler for PHP version < 4.3.0 (set with set_error_handler() )

  • author: Marc Groot Koerkamp
  • since: 1.5.1
void SquirrelMailErrorhandler ( $iErrNo,  $sErrStr,  $sErrFile,  $iErrLine,  $aContext)
  • $iErrNo
  • $sErrStr
  • $sErrFile
  • $iErrLine
  • $aContext

Documentation generated on Mon, 13 Jan 2020 04:22:25 +0100 by phpDocumentor 1.4.3