Nit: I think this method name could be clearer. Maybe something like `clearErrorHandler` or `clearErrorCallback`? Currently, the name suggests something with a much broader scope to me...