ReadonlycodeError code identifying the specific failure.
Format: ASE-XXXX where the numeric prefix indicates the error family.
It is recommended to use this to branch on error type rather than parsing message.
Optional ReadonlydetailA human-readable string describing the specific underlying cause of this error.
Provides more granular context than message - for example, the raw error
from a failed network request or a response parsing failure. Useful for
logging and displaying specific failure reasons to the user.
Optional ReadonlymetadataStructured diagnostic context attached to this error.
Provides additional information about the circumstances under which the error
occurred, such as which SDK operation was being executed. Intended for logging
and support diagnostics rather than branching logic - use code for that.
Returns the underlying cause of this error, if any.
Useful for inspecting the original network error, IdP response, or internal exception that triggered this SDK error.
The raw cause value, or undefined if none was provided
StaticisType predicate that checks whether a value is an AvayaInfinityAgentSdkError.
Works across iframe boundaries and multiple SDK instances where instanceof may fail
due to different class references.
The value to check
true if the value is an AvayaInfinityAgentSdkError, false otherwise
The error class thrown by all public methods of the Avaya Infinity Agent SDK.
Every error carries a unique
codestring (ASE-XXXX) that identifies the specific failure, and a human-readablemessage.Example
See
AvayaInfinityAgentSdkErrorCodes