Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specific client exception types #185

Open
pnwamk opened this issue Aug 31, 2021 · 0 comments
Open

specific client exception types #185

pnwamk opened this issue Aug 31, 2021 · 0 comments

Comments

@pnwamk
Copy link
Contributor

pnwamk commented Aug 31, 2021

Currently the Haskell server backend uses specific error codes to describe different kinds of errors, see here.

The argo-client however uses a single class ArgoException for all errors. It may be useful for client applications if we have some subclasses of ArgoException to classify errors which a client may wish to react to, e.g., perhaps a timeout shouldn't crash an entire script, but instead be caught and count as a single test failure in a larger script with many tests.

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

No branches or pull requests

1 participant