Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tourmaline
master
Slice
Tourmaline
Animation
Audio
BotCommand
BotCommandScope
BotCommandScopeAllChatAdministrators
BotCommandScopeAllGroupChats
BotCommandScopeAllPrivateChats
BotCommandScopeChat
BotCommandScopeChatAdministrators
BotCommandScopeChatMember
BotCommandScopeDefault
BotDescription
BotName
BotShortDescription
CallbackGame
CallbackQuery
CallbackQueryHandler
Chat
Type
ChatAction
ChatAdministratorRights
ChatBoost
ChatBoostRemoved
ChatBoostSource
ChatBoostSourceGiftCode
ChatBoostSourceGiveaway
ChatBoostSourcePremium
ChatBoostUpdated
ChatInviteLink
ChatJoinRequest
ChatLocation
ChatMember
ChatMemberAdministrator
ChatMemberBanned
ChatMemberLeft
ChatMemberMember
ChatMemberOwner
ChatMemberRestricted
ChatMemberUpdated
ChatPermissions
ChatPhoto
ChatShared
ChosenInlineResult
Client
Api
InlineKeyboardMarkupBuilder
InlineQueryResultBuilder
ReplyKeyboardMarkupBuilder
CommandHandler
Contact
Context
Dice
Dispatcher
Document
EncryptedCredentials
EncryptedPassportElement
Error
BadRequest
BadWebhook
BadWebhookAddrInfo
BadWebhookNoAddressAssociatedWithHostname
BadWebhookPort
BotBlocked
BotDomainInvalid
BotKicked
ButtonDataInvalid
ButtonURLInvalid
CantDemoteChatCreator
CantGetUpdates
CantInitiateConversation
CantParseEntities
CantParseUrl
CantRemoveChatOwner
CantRestrictSelf
CantTalkWithBots
ChatAdminRequired
ChatDescriptionIsNotModified
ChatIdIsEmpty
ChatNotFound
ConflictError
ConnectionLost
CurrencyTotalAmountInvalid
GroupDeactivated
InlineKeyboardExpected
InvalidHTTPUrlContent
InvalidPeerID
InvalidQueryID
InvalidResultID
InvalidStickersSet
InvalidUserId
MemberListInaccessible
MessageCantBeDeleted
MessageCantBeEdited
MessageError
MessageIdentifierNotSpecified
MessageIdInvalid
MessageIsNotAPoll
MessageIsTooLong
MessageNotModified
MessageTextIsEmpty
MessageToDeleteNotFound
MessageToEditNotFound
MessageToForwardNotFound
MessageToReplyNotFound
MessageWithPollNotFound
MethodIsNotAvailable
MethodNotAvailableInPrivateChats
MethodNotKnown
MigrateToChat
NeedAdministratorRightsInTheChannel
NetworkError
NoStickerInRequest
NotEnoughRightsOther
NotEnoughRightsToPinMessage
NotEnoughRightsToRestrict
NotFound
ObjectExpectedAsReplyMarkup
PaymentProviderInvalid
PhotoAsInputFileRequired
PhotoDimensions
PollCantBeStopped
PollCantHaveMoreOptions
PollError
PollHasAlreadyClosed
PollMustHaveMoreOptions
PollOptionsMustBeNonEmpty
PollQuestionMustBeNonEmpty
PollsCantBeSentToPrivateChats
PollSizeError
PollsOptionsLengthTooLong
PoolRetryAttemptsExceeded
RequestTimeoutError
ResultIdDuplicate
RetryAfter
StartParamInvalid
TerminatedByOtherGetUpdates
Throttled
TooMuchMessages
TypeOfFileMismatch
Unauthorized
UnavailableMembers
UnsupportedUrlProtocol
URLHostIsEmpty
UserDeactivated
UserNotFound
ValidationError
WebhookRequireHTTPS
WrongFileIdentifier
WrongLiveLocationPeriod
WrongRemoteFileIdSpecified
EventHandler
EventHandlerProc
EventHandlerType
ExternalReplyInfo
File
ForceReply
ForumTopic
ForumTopicClosed
ForumTopicCreated
ForumTopicEdited
ForumTopicReopened
Game
GameHighScore
GeneralForumTopicHidden
GeneralForumTopicUnhidden
Giveaway
GiveawayCompleted
GiveawayCreated
GiveawayWinners
HearsHandler
Helpers
InaccessibleMessage
InlineKeyboardButton
InlineKeyboardMarkup
InlineQuery
InlineQueryHandler
InlineQueryResult
InlineQueryResultArticle
InlineQueryResultAudio
InlineQueryResultCachedAudio
InlineQueryResultCachedDocument
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedPhoto
InlineQueryResultCachedSticker
InlineQueryResultCachedVideo
InlineQueryResultCachedVoice
InlineQueryResultContact
InlineQueryResultDocument
InlineQueryResultGame
InlineQueryResultGif
InlineQueryResultLocation
InlineQueryResultMpeg4Gif
InlineQueryResultPhoto
InlineQueryResultsButton
InlineQueryResultVenue
InlineQueryResultVideo
InlineQueryResultVoice
InputContactMessageContent
InputFile
InputInvoiceMessageContent
InputLocationMessageContent
InputMedia
InputMediaAnimation
InputMediaAudio
InputMediaDocument
InputMediaPhoto
InputMediaVideo
InputMessageContent
InputSticker
InputTextMessageContent
InputVenueMessageContent
Invoice
KeyboardBuilder
KeyboardButton
KeyboardButtonPollType
KeyboardButtonRequestChat
KeyboardButtonRequestUsers
LabeledPrice
LinkPreviewOptions
Location
LoginUrl
MaskPosition
MaybeInaccessibleMessage
MenuButton
MenuButtonCommands
MenuButtonDefault
MenuButtonWebApp
Message
SenderType
MessageAutoDeleteTimerChanged
MessageEntity
MessageId
MessageOrigin
MessageOriginChannel
MessageOriginChat
MessageOriginHiddenUser
MessageOriginUser
MessageReactionCountUpdated
MessageReactionUpdated
Middleware
Stop
OrderInfo
ParseMode
PassportData
PassportElementError
PassportElementErrorDataField
PassportElementErrorFile
PassportElementErrorFiles
PassportElementErrorFrontSide
PassportElementErrorReverseSide
PassportElementErrorSelfie
PassportElementErrorTranslationFile
PassportElementErrorTranslationFiles
PassportElementErrorUnspecified
PassportFile
PhotoSize
Poll
PollAnswer
Poller
PollOption
PreCheckoutQuery
ProximityAlertTriggered
ReactionCount
ReactionType
ReactionTypeCustomEmoji
ReactionTypeEmoji
ReplyKeyboardMarkup
ReplyKeyboardRemove
ReplyParameters
ResponseParameters
SentWebAppMessage
Server
ShippingAddress
ShippingOption
ShippingQuery
Sticker
StickerSet
Story
SuccessfulPayment
SwitchInlineQueryChosenChat
TextQuote
Update
UpdateAction
User
UserChatBoosts
UserProfilePhotos
UsersShared
Venue
Video
VideoChatEnded
VideoChatParticipantsInvited
VideoChatScheduled
VideoChatStarted
VideoNote
Voice
WebAppData
WebAppInfo
WebhookInfo
WriteAccessAllowed
Generated using Crystal 1.10.1
2024-02-01 06:44:38 UTC
class
Tourmaline::
Error::
ChatAdminRequired
Tourmaline::Error::ChatAdminRequired
Tourmaline::Error::BadRequest
Tourmaline::Error
Exception
Reference
Object
Defined in:
tourmaline/error.cr
Constructor methods inherited from class
Tourmaline::Error
new(message =
""
)
new
Class methods inherited from class
Tourmaline::Error
from_message(text)
from_message