Closed treeder closed 3 years ago
I see in the docs the following:
print(result.type); // The result type (barcode, cancelled, failed)
Are there cases where it would fail and not throw an exception? Like we'd want to check for result.type == failed rather than catching an exception?
result.type == failed
There is no ResultType.Failed. ResultType.Error comes from here:
Ok, then the main README should change, it has "failed" in it.
I see in the docs the following:
Are there cases where it would fail and not throw an exception? Like we'd want to check for
result.type == failed
rather than catching an exception?