Skip to main content
SukiError type represents the structure for SDK errors. The code snippet below shows how to use the SukiError type to create a suki error object.
JavaScript

Properties

ErrorCode identifier

ErrorCode represents the unique identifiers for different types of SDK errors. The following table lists the available error code identifiers and their descriptions.

ErrorDetail

ErrorDetail represents the detailed information about a specific error. The code snippet below shows how to use the ErrorDetail type to create an error detail object.
JavaScript

ErrorDetail properties

ErrorReasons

ErrorReasons represents the specific reasons that provide additional context for why an error occurred.
JavaScript
The below table lists the available error reasons and their descriptions.

Example

JavaScript
Last modified on July 23, 2026