Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

BarcodeReaderError

The exception class of BarcodeReader

class BarcodeReaderError(Exception)

Attributes

Attribute Type
error_info str

error_info

Detailed exception information

Methods

Method Description
__str__ Return detailed exception information.

__str__

from dbr import *

reader = BarcodeReader()
reader.init_license("t0260NwAAAHV***************")

try:
    results = reader.decode_file(r"<your barcode image file path.>")
except BarcodeReaderError as e:
    print(e)

This page is compatible for:

Is this page helpful?

YesYes NoNo