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

Shorthand handler references #2

Open
wagenet opened this issue May 10, 2019 · 0 comments
Open

Shorthand handler references #2

wagenet opened this issue May 10, 2019 · 0 comments

Comments

@wagenet
Copy link
Owner

wagenet commented May 10, 2019

register_exception Graphiti::Errors::InvalidRequest, status: 400, handler: Graphiti::Rails::InvalidRequestHandler

would become

register_exception Graphiti::Errors::InvalidRequest,   status: 400, handler: :graphiti_invalid_request

or something similar

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