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

How can I throw the error from middleware or can response an error from here in the middleware file #4

Open
sakshigargit opened this issue Sep 17, 2018 · 2 comments

Comments

@sakshigargit
Copy link

I am using your library but I am not able to get a way where I can throw the error or throw json response error in it without letting it to reach to the controller.

@sakshigargit
Copy link
Author

@muriloacs

@edipoReboucas
Copy link
Collaborator

edipoReboucas commented Sep 17, 2018

I see the code and really appear be a issue. I am in vacation right now without access a computer.

@murilocs If a middleware return a response, maybe we can render that, what you think about?

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