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

Differentiate between different kinds of errors #40

Open
stefandesu opened this issue Jul 9, 2024 · 1 comment
Open

Differentiate between different kinds of errors #40

stefandesu opened this issue Jul 9, 2024 · 1 comment
Milestone

Comments

@stefandesu
Copy link
Member

Continuation of #36.

There should be different error messages depending on the kind of error. In particular, we should differentiate between 404 (not found), 5xx (backend reachable, but other error), and network errors.

@stefandesu stefandesu added this to the 1.2.0 milestone Jul 9, 2024
@nichtich
Copy link
Member

nichtich commented Jul 9, 2024

Should also be used when using curl to directly get data:

curl -I https://coli-conc.gbv.de/terminology/XXX/?format=json

returns 504 but I'd expect 404.

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

2 participants