Handling results and errors
This guide explains how to handle scan results and errors in your application, ensuring a smooth user experience.
With version 8.0.0, all SDK errors are thrown as instances of the SBError class, making error handling more consistent and predictable.
Follow the steps below to learn best practices for managing results and handling errors in different UI integrations.
Handling errors
Here's an example of how to handle errors when working with the SDK:
loading...
Handling errors in RTU UI
When using Ready-To-Use (RTU) UI components, you can handle errors as shown in the example below:
loading...
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial licenseScanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
