onError method of the Callback interface

Called when an error occurs.

 Note:  Result may contain some captured images. Call clear method to remove them from the page storage, if you do not want to save them for further use.

This method is to be implemented on the client side, which may include displaying the error description to the user or handling it otherwise.

void onError(
  Exception exception,
  Result result


The Exception object for the error that has occurred.
The result of the multipage capture scenario, represented by the Result class object.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.