Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Clarity on error responses #269

Closed
treeder opened this issue Jul 24, 2020 · 2 comments
Closed

Clarity on error responses #269

treeder opened this issue Jul 24, 2020 · 2 comments
Labels

Comments

@treeder
Copy link

treeder commented Jul 24, 2020

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?

@treeder treeder added the bug label Jul 24, 2020
@treeder treeder mentioned this issue Jul 28, 2020
@devtronic devtronic added question and removed bug labels Aug 14, 2020
@treeder
Copy link
Author

treeder commented Aug 14, 2020

Ok, then the main README should change, it has "failed" in it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants