PEAR provides functions for handling errors and sets the behaviour in case of error.
It shall be safe against reasonably foreseeable handling errors.