TdException class final

TDLib answered a request with an error.

Implemented types

Constructors

TdException(TdError error, TdFunction<TdObject> request)
Creates the exception for error returned by request.
const

Properties

code → int
TDLib error code (e.g. 400, 401, 429).
no setter
error → TdError
The TDLib error.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
TDLib error message (e.g. PHONE_NUMBER_INVALID).
no setter
request → TdFunction<TdObject>
The request that failed.
final
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.
override

Operators

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