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