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
Aborted, AlreadyExists, Cancelled, DataLoss, DeadlineExceeded, FailedPrecondition, InternalError, InvalidArgument, NotFound, OutOfRange, PermissionDenied, ResourceExhausted, Unauthenticated, Unavailable, Unimplemented, Unknown, Hub::Stores::Error::CannotModifyGitConnectedStore, Hub::Stores::Error::ConditionUnsatisfied, Hub::Stores::Error::NoUsableFiles, Hub::Stores::Error::OperationDiscarded, Hub::Stores::Error::ValidationFailure
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 |