Provide libevent error details in exception when handling error callback.