PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

pear_error

table of contents
pear_error::adduserinfo() -- add user information
pear_error::getcallback() -- get callback function name
pear_error::getcode() -- get error code
pear_error::getmessage() -- get error message
pear_error::getmode() -- get error mode
pear_error::getdebuginfo() -- get debug information
pear_error::gettype() -- get error type
pear_error::getuserinfo() -- get additional user-supplied information
pear_error::pear_error() -- constructor
pear_error::tostring() -- make string representation

pear_error is an object created by every function in pear in case of a failure. it provides information on why a function fails.

how you get the object depends on pear::seterrorhandling()