
Invoked when an error occurs while scanning the barcode data. A JSON object passed as parameter contains detailed information about the error.
| Name | Description | Type | Use |
|---|---|---|---|
| code | Specifies one of the error codes defined in the BarcodeScanner
class. Possible failure types are listed in the Constants section
of the BarcodeScanner article. |
string |
required |
| description | General description of the specific error that has occurred. | string |
required |