ReadonlycodeStable code identifying the failure.
Optional ReadonlydetailShort discriminator for distinguishing conditions that share the same code.
Optional ReadonlymetadataStructured context describing the circumstances of the error.
StaticisType predicate identifying an AvayaInfinityOmniSdkError.
The value to test.
true when value is an AvayaInfinityOmniSdkError.
The error type raised by the Avaya Infinity Omni SDK.
Every error raised by the Omni SDK is an instance of this class. This custom error class extends the built-in
Errorand adds a stablecodethat the consumer can branch on.Errors that do not originate from the SDK like a network failure, or a a bug in the SDK itself or a rejection from the browser will propagate unchanged.
Example