TeleverseExceptionType enum

Enum to classify different types of Televerse exceptions.

Inheritance

Constructors

TeleverseExceptionType()
const

Values

fileDoesNotExist → const TeleverseExceptionType

File does not exist.

requestFailed → const TeleverseExceptionType

Thrown when a API request is failed

timeoutException → const TeleverseExceptionType

Thrown when the timeout exception occurs.

invalidParameter → const TeleverseExceptionType

Parameter Exception

This type of exception is thrown when a request is made with invalid parameters.

botNotInitialized → const TeleverseExceptionType

Bot is not initialized.

This type of exception is thrown when a method is called before even creating the bot instance.

updateTypeDoesNotHaveChat → const TeleverseExceptionType

Update type doesn't have a chat.

This type of exception is thrown when the update type doesn't have a chat.

unsupported → const TeleverseExceptionType

Unsupported feature.

This type of exception is thrown when a feature is not supported.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<TeleverseExceptionType>
A constant List of the values in this enum, in order of their declaration.