IMP_Compose_Exception
extends IMP_Exception
in package
The IMP_Compose_Exception:: class handles exceptions thrown from the IMP_Compose class.
Tags
Table of Contents
Properties
- $encrypt : string
- Stores information on whether an encryption dialog window needs to be opened.
- $tied_identity : int
- If set, indicates that this identity matches the given to address.
Methods
- createAndLog() : IMP_Compose_Exception
- Creates a new Exception object and immediately logs the message.
- log() : bool
- Log error message.
Properties
$encrypt
Stores information on whether an encryption dialog window needs to be opened.
public
string
$encrypt
= \null
$tied_identity
If set, indicates that this identity matches the given to address.
public
int
$tied_identity
= \null
Methods
createAndLog()
Creates a new Exception object and immediately logs the message.
public
static createAndLog() : IMP_Compose_Exception
Return values
IMP_Compose_Exception —Exception argument.
log()
Log error message.
public
log([string $level = 'ERR' ]) : bool
Parameters
- $level : string = 'ERR'
-
Level to log at.
Return values
bool —True if message was logged.