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
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$raw_msg string Raw error message (in English).

Méthodes publiques

Méthode 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 méthode

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

messagePrintf() public méthode

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 méthode

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

setMessage() public méthode

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
Résultat string