Skip to content

chatbot/errors

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

  • Package: @leipzigtreechat/chatbot
  • Source file: packages/chatbot/src/errors.ts

Indicates that a user message failed chatbot-specific validation.

class InvalidInputError extends Data.TaggedError("InvalidInputError")<{
/**
* Human-readable explanation of the validation failure.
*/
reason: string;
}>

Indicates that a user message failed chatbot-specific validation.

Extends: `Data.TaggedError(“InvalidInputError”)<{ /**

  • Human-readable explanation of the validation failure. */ reason: string; }>` Defined at: line 6
class MissingMessageError extends Data.TaggedError("MissingMessageError")<{}>

Indicates that the expected message was missing from the current agent state.

Extends: Data.TaggedError("MissingMessageError")<{}> Defined at: line 16