ChataptorError class sealed

Base type for all recoverable errors emitted by the Chataptor SDK.

Recoverable errors flow through ChataptorClient.errors and the result types returned by client methods (e.g. SendResult). For programmer errors (e.g. calling sendMessage before connect), the SDK throws ChataptorStateError or ChataptorConfigurationError instead.

Implementers
Annotations
  • @immutable

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Short, human-readable description of the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Stack trace at the point of failure, if captured.
final
underlyingException Object?
The platform/network exception that caused this error, if any.
final

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