PEAR_Error::getCode()

PEAR_Error::getCode() -- get error code

Synopsis

require_once 'PEAR.php';

integer PEAR_Error::getType ()

Description

Returns the name of the error class of the object.

Return value

string - error class name

Note

This function can not be called statically