Skip to content

Commit

Permalink
Add to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nkadovic committed Oct 31, 2024
1 parent aed4559 commit 43b1ae7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ grpc-rest supports [gruf](https://github.com/bigcommerce/gruf) Interceptors thro
registry, your interceptors will be called normally around the controller.

```ruby
require 'grpc_rest/base_interceptor'
module Interceptors
# Interceptor for catching errors from controllers
class ErrorInterceptor < GrpcRest::BaseInterceptor
Expand Down

0 comments on commit 43b1ae7

Please sign in to comment.