Events
AurumEvent
#
CommandErrorEvent
#
Bases: InteractionEvent
, abc.ABC
Event that being dispatched, when command execution has exceptions.
app
class-attribute
instance-attribute
#
app: RESTAware = attrs.field()
Instance of main application.
context
class-attribute
instance-attribute
#
context: InteractionContext | None = attrs.field(default=None)
Context of interaction.
exc_info
instance-attribute
#
exc_info: Tuple[Type[BaseException], BaseException, TracebackType | None]
Exception triplet.
ExceptionEvent
#
Bases: AurumEvent
, abc.ABC
Base class of events, that associated with exceptions.
app
class-attribute
instance-attribute
#
app: RESTAware = attrs.field()
Instance of main application.
exc_info
instance-attribute
#
exc_info: Tuple[Type[BaseException], BaseException, TracebackType | None]
Exception triplet.
InteractionEvent
#
Bases: ExceptionEvent
, abc.ABC
app
class-attribute
instance-attribute
#
app: RESTAware = attrs.field()
Instance of main application.
context
class-attribute
instance-attribute
#
context: InteractionContext | None = attrs.field(default=None)
Context of interaction.
exc_info
instance-attribute
#
exc_info: Tuple[Type[BaseException], BaseException, TracebackType | None]
Exception triplet.