Registers a callback to run upon errors.
onError(AngelErrorHandler handler) { _errorHandler = handler; }