Light weight library for handling errors in PHP applications