Releases: pmmp/ErrorHandler
Releases · pmmp/ErrorHandler
0.7.0
0.6.0
Changes since 0.5.0
ErrorToExceptionHandler::trap()
andtrapAndRemoveFalse()
are no longer affected by the@
operator orerror_reporting()
.trap()
andtrapAndRemoveFalse()
now accept an optional$levels
parameter (by defaultE_WARNING | E_NOTICE
). Only error types that match this parameter will cause an exception to be thrown.
0.5.0
0.4.0
0.3.0
Changes since 0.2.0
- Added a new
ErrorRecord
class. This contains basic information about an error. ErrorToExceptionHandler
now records errors silenced by@
. The following methods have been added:ErrorToExceptionHandler::getLastSilencedError()
ErrorToExceptionHandler::clearLastSilencedError()
ErrorToExceptionHandler::getAndClearLastSilencedError()