It is now possible to receive errors using a callback instead of an exception

You can now register an error callback handler which is called when an
error ocurres instead of an exception - which is the default behaviour
at the moment.