Skip to content

class Tourmaline::Error
inherits Exception #

Direct known subclasses

Tourmaline::Error::BadRequest Tourmaline::Error::ConflictError Tourmaline::Error::MigrateToChat Tourmaline::Error::NetworkError Tourmaline::Error::RetryAfter Tourmaline::Error::Throttled Tourmaline::Error::Unauthorized Tourmaline::Error::ValidationError

Constants#

ERROR_PREFIXES = ["error: ", "[error]: ", "bad request: ", "conflict: ", "not found: "] #

Constructors#

.new(message = "") #

View source

Class methods#

.from_message(text) #

View source