GitHub

Unhandled

API reference for Unhandled.

Why an interaction reached no handler, or why its reply was not carried out: UnknownId (no definition of that id and kind), InvalidValue (the value or metadata no longer decodes, or a required input is missing) or ReplyRefused (Handler.refused was called, with the adapter's error).

Attributes

AttributeTypeDescription
reasonLiteral['UnknownId', 'InvalidValue', 'ReplyRefused']
errorChatError | None = None

Functions

__init__

__init__(reason, error=None) -> None
ParameterTypeDescription
reasonLiteral['UnknownId', 'InvalidValue', 'ReplyRefused']
errorChatError | None = None