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

Create Pedestal Error interceptor #25

Open
rafaeldelboni opened this issue Jul 24, 2021 · 0 comments
Open

Create Pedestal Error interceptor #25

rafaeldelboni opened this issue Jul 24, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rafaeldelboni
Copy link
Member

Interceptor should check errors thrown by the server and look for a error metadata and return the proper HTTP error code/data.

(throw (ex-info "Not Found" {:parenthesin/type :not-found :body body :headers headers}))
@rafaeldelboni rafaeldelboni added help wanted Extra attention is needed enhancement New feature or request labels Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant