Define a new error, `InvalidBarcodeData < Exception`, and raise it?