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

Impl Rails style rescue_for. #8

Open
ne-sachirou opened this issue May 2, 2015 · 0 comments
Open

Impl Rails style rescue_for. #8

ne-sachirou opened this issue May 2, 2015 · 0 comments
Assignees

Comments

@ne-sachirou
Copy link
Member

Railsで言ふrescue_forが要る。
現在NotFound等の既定のinterfaceをもった例外を投げないと、HTTP statusが強制的に500になる。不便。それを解決する仕組みが必要。
コントローラで適切にtry-catchしてやれば済む話ではあるが…。此の例外なら此のステータスコードと云ふ対応が決まってゐるのなら、各コントローラでtry-catchしなければならないので不便。

@ne-sachirou ne-sachirou self-assigned this May 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant