Exception: Cerbos::Error::NotOK
- Inherits:
-
Cerbos::Error
- Object
- StandardError
- Cerbos::Error
- Cerbos::Error::NotOK
- Defined in:
- lib/cerbos/error.rb
Overview
An error indicating an unsuccessful gRPC operation.
Direct Known Subclasses
Cancelled, DeadlineExceeded, InternalError, InvalidArgument, ResourceExhausted, Unauthenticated, Unavailable, Unimplemented
Instance Attribute Summary collapse
-
#code ⇒ Integer
readonly
The gRPC status code.
-
#details ⇒ String
readonly
The gRPC error details.
-
#metadata ⇒ Hash
readonly
The gRPC error metadata.
Instance Attribute Details
#code ⇒ Integer (readonly)
The gRPC status code.
28 29 30 |
# File 'lib/cerbos/error.rb', line 28 def code @code end |
#details ⇒ String (readonly)
The gRPC error details.
33 34 35 |
# File 'lib/cerbos/error.rb', line 33 def details @details end |
#metadata ⇒ Hash (readonly)
The gRPC error metadata.
38 39 40 |
# File 'lib/cerbos/error.rb', line 38 def @metadata end |