@itd-api/chat-bot / ChatBotError
Class: ChatBotError<C>
Defined in: packages/chat-bot/src/bot.ts:36
Ошибка обработчика вместе с контекстом события.
Extends
Error
Type Parameters
C
C extends ChatContext = ChatContext
Constructors
Constructor
ts
new ChatBotError<C>(error, context): ChatBotError<C>;Defined in: packages/chat-bot/src/bot.ts:39
Parameters
error
unknown
context
C
Returns
ChatBotError<C>
Overrides
ts
Error.constructorProperties
context
ts
readonly context: C;Defined in: packages/chat-bot/src/bot.ts:37