Skip to content

aea.helpers.temp_error_handler

Temporary error handler.

ErrorHandler Objects

class ErrorHandler()

Error handler class for handling problematic envelopes.

send_unsupported_protocol

 | @classmethod
 | send_unsupported_protocol(cls, envelope: Envelope, logger: Logger) -> None

Handle the received envelope in case the protocol is not supported.

Arguments:

  • envelope: the envelope

Returns:

None

send_decoding_error

 | @classmethod
 | send_decoding_error(cls, envelope: Envelope, logger: Logger) -> None

Handle a decoding error.

Arguments:

  • envelope: the envelope

Returns:

None

send_unsupported_skill

 | @classmethod
 | 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