ScanFlowErrorCode

Error codes that can occur during a scan flow.

Cross-platform plugins expose stringCode as the code field in their structured error payloads.

cancellation_error The user canceled the document or barcode scan flow. Treat as a normal exit; do not show an error.
configuration_error The configuration or input parameters are invalid. Fix the configuration before retrying.
licensing_error The license key is invalid, expired, or not initialized. Verify the license key and contact support if needed.
capture_error The camera or capture session failed. Let the user retry; restart the device if the problem persists.
storage_space_error There is not enough storage space to write generated files. Ask the user to free up storage space and retry.
internal_error An unexpected SDK error occurred. Show a generic error and collect underlying_error for diagnostics.

Entries

Link copied to clipboard

User has canceled the scan flow.

Link copied to clipboard

Invalid configuration or input parameters.

Link copied to clipboard

License key invalid/expired/not initialized.

Link copied to clipboard

Camera/capture session failure.

Link copied to clipboard

Not enough storage space available.

Link copied to clipboard

Unexpected/internal SDK error.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.