|
|
@ -3,3 +3,6 @@ benefits of eTry
|
|
|
|
- you can wrap calls in it, as it's an expression, not a statement like try/catch
|
|
|
|
- you can wrap calls in it, as it's an expression, not a statement like try/catch
|
|
|
|
|
|
|
|
|
|
|
|
note that it does not work with async/await, where you're stuck with the manual approach
|
|
|
|
note that it does not work with async/await, where you're stuck with the manual approach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TODO:
|
|
|
|
|
|
|
|
- Add a (maybe)fromGraphQL utility for converting GraphQL's wrapper errors (with `originalError`) into a standard error chain
|
|
|
|