There is no fundamental difference between microservices guards and regular HTTP application guards.
The only difference is that instead of throwing
HttpException, you should use
info Hint The
RpcExceptionclass is exposed from
The following example uses a method-scoped guard. Just as with HTTP based applications, you can also use controller-scoped guards (i.e., prefix the controller class with a