@@ -60,6 +60,18 @@ var (
|
||||
ErrSceneEntryNotSet = errors.New("scene entry step not set")
|
||||
// ErrSceneRuntimeNil reports that scene APIs were used without an attached runtime.
|
||||
ErrSceneRuntimeNil = errors.New("scene runtime is nil")
|
||||
// ErrInvalidSceneAction reports a SceneResult with an unknown action.
|
||||
ErrInvalidSceneAction = errors.New("invalid scene action")
|
||||
// ErrHandlerExecutorNil reports an attempted registration or execution of a nil handler.
|
||||
ErrHandlerExecutorNil = errors.New("handler executor is nil")
|
||||
// ErrHandlerPanic reports a panic recovered from a user handler.
|
||||
ErrHandlerPanic = errors.New("handler panicked")
|
||||
// ErrInlineKeyboardButtonAction reports a button without exactly one action.
|
||||
ErrInlineKeyboardButtonAction = errors.New("inline keyboard button must have exactly one action")
|
||||
// ErrCallbackDataLength reports callback data outside Telegram's 1-64 byte range.
|
||||
ErrCallbackDataLength = errors.New("callback data must be between 1 and 64 bytes")
|
||||
// ErrInlineKeyboardRowTooLong reports a row exceeding the configured maximum.
|
||||
ErrInlineKeyboardRowTooLong = errors.New("inline keyboard row exceeds maximum size")
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user