Readonly
codeUse the error code to identify a specific error programatically.
ERROR_CODES for a comprehensive list of possible error codes in this SDK version.
Readonly
contextAdditional data, which provides context to the error and may help with debugging.
Warning: The contents of this object may change in future versions of the SDK.
Optional
Readonly
stackSome environments provide a stack trace that is attached to any error.
DittoError
is a subclass of the default JavascriptError
. You can identify specific errors programatically using the code property.Please reference ERROR_CODES for a comprehensive list of possible error codes in this SDK version.
Example
Handling a specific error code: