PHP Class Horde_Imap_Client_Exception, horde

Additional server debug information MAY be found in the $details property.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Exception_Wrapped
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$raw_msg string Raw error message (in English).

Public Methods

Method Description
__construct ( string $message = null, code $code = null ) Constructor.
messagePrintf ( array $args = [] ) Perform substitution of variables in the error message.
setCode ( integer $code ) Allow the error code to be altered.
setMessage ( string $msg ) Allow the error message to be altered.

Method Details

__construct() public method

Constructor.
public __construct ( string $message = null, code $code = null )
$message string Error message (non-translated).
$code code Error code.

messagePrintf() public method

Needed to allow for correct translation of error message.
Since: 2.22.0
public messagePrintf ( array $args = [] )
$args array Arguments used for substitution.

setCode() public method

Allow the error code to be altered.
public setCode ( integer $code )
$code integer Error code.

setMessage() public method

Allow the error message to be altered.
public setMessage ( string $msg )
$msg string Error message.

Property Details

$raw_msg public_oe property

Raw error message (in English).
Since: 2.18.0
public string $raw_msg
return string