aea.error_
handler.base
This module contains the abstract error handler class.
AbstractErrorHandler Objects
class AbstractErrorHandler(ABC)
Error handler class for handling problematic envelopes.
send_
unsupported_
protocol
| @classmethod
| @abstractmethod
| send_unsupported_protocol(cls, envelope: Envelope, logger: Logger) -> None
Handle the received envelope in case the protocol is not supported.
Arguments:
envelope
: the envelopelogger
: the logger
Returns:
None
send_
decoding_
error
| @classmethod
| @abstractmethod
| send_decoding_error(cls, envelope: Envelope, logger: Logger) -> None
Handle a decoding error.
Arguments:
envelope
: the envelope
Returns:
None
send_
unsupported_
skill
| @classmethod
| @abstractmethod
| send_unsupported_skill(cls, envelope: Envelope, logger: Logger) -> None
Handle the received envelope in case the skill is not supported.
Arguments:
envelope
: the envelope
Returns:
None