aea.error_handler.default
This module contains the default error handler class.
ErrorHandler Objects
Error handler class for handling problematic envelopes.
__init__
Instantiate error handler.
send_unsupported_protocol
Handle the received envelope in case the protocol is not supported.
Arguments:
envelope: the envelopelogger: the logger
send_decoding_error
Handle a decoding error.
Arguments:
envelope: the envelopeexception: the exception raised during decodinglogger: the logger
send_no_active_handler
Handle the received envelope in case the handler is not supported.
Arguments:
envelope: the envelopereason: the reason for the failurelogger: the logger