LiveTalkError class

Inheritance

Constructors

LiveTalkError({required int statusCode, required String errorKey, Map<String, dynamic>? message})

Properties

errorKey String
One of LiveTalkErrorCodes constants. Use this key to look up localized messages in the app's i18n table.
final
hashCode int
The hash code for this object.
no setterinherited
message Map<String, dynamic>?
Raw server response payload, if available. Use for logging / debugging only.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited
statusCode int
HTTP status code (e.g. 400, 500). 0 → API body error (status_code: -9999, transport succeeded). -1 → client-side / pre-request validation error.
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