PEAR_Error::getType()

PEAR_Error::getType() – get error type

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.