Added documentation for the (unimplemented) on_error callback.