Represents an exception that is thrown when a barcode cannot be written due to an invalid provided width.

This exception is typically thrown when the provided width is causing the bars/spaces to be less than one pixel. It applies only when writing to an image.

from nutrient_sdk import BarcodeInvalidWidthException

Inherits from: BarcodeException

Construction

BarcodeInvalidWidthException()

Creates a new BarcodeInvalidWidthException instance with default settings.

Properties

exception_reason

@property
def exception_reason(self) -> str

The reason for the exception that occurs when the barcode cannot be written.

Type: str

Read-only property.