PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
PEAR_Error::getDebugInfo() | Up | PEAR_Error::getUserInfo()