Inspired by the PEAR error handling, patError tries to solve the problem of handling runtime-errors within your PHP-projects. Therefore patError supplies the developer with a simple interface for "throwing" errors or sending error-objects as return values. On the other side the errors are "catched" automatically by the registered error-handler.
patError also supports different error-levels. The three well-known error levels: notice, warning and error are built-in and can be used without further configuration. patError also includes predefined default-behaviour for each of these error levels.