TelnyxErrorDefinition class

Error definition entry for the SDK error registry.

Constructors

TelnyxErrorDefinition({required String name, required String message, required String description, required List<String> causes, required List<String> solutions, required bool fatal})
Creates an error definition entry for the SDK error registry.
const

Properties

causes → List<String>
Possible root causes.
final
description → String
Full explanation of the error — what happened and why.
final
fatal → bool
Whether the situation is terminal.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Short human-readable message suitable for UI alerts.
final
name → String
Machine-readable name in UPPER_SNAKE_CASE.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
solutions → List<String>
Suggested remediation steps.
final

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