Skip to content

Commit

Permalink
Emphasize rescue_from applies to StandardError exceptions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelkster committed Dec 31, 2017
1 parent 8395a41 commit 819c663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ literally accepts every request.

## Exception Handling

Grape can be told to rescue all exceptions and return them in the API format.
Grape can be told to rescue all `StandardError` exceptions and return them in the API format.

```ruby
class Twitter::API < Grape::API
Expand Down

0 comments on commit 819c663

Please sign in to comment.