Class: Google::Cloud::Bigtable::Status
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::Status
- Defined in:
- lib/google/cloud/bigtable/status.rb
Overview
Status
Represents a logical error model from the Bigtable service, containing an error code, an error message, and optional error details.
Instance Attribute Summary collapse
-
#code ⇒ Integer
The status code, which should be an enum value of google.rpc.Code.
-
#description ⇒ String
The human-readable description for the status code, which should be an enum value of google.rpc.Code.
-
#details ⇒ Array<String>
A list of messages that carry the error details.
-
#message ⇒ String
A developer-facing error message, which should be in English.
Instance Attribute Details
#code ⇒ Integer
The status code, which should be an enum value of google.rpc.Code.
49 50 51 |
# File 'lib/google/cloud/bigtable/status.rb', line 49 def code @code end |
#description ⇒ String
The human-readable description for the status code, which should be an enum value of
google.rpc.Code. For example,
INVALID_ARGUMENT
.
49 50 51 |
# File 'lib/google/cloud/bigtable/status.rb', line 49 def description @description end |
#details ⇒ Array<String>
A list of messages that carry the error details.
49 50 51 |
# File 'lib/google/cloud/bigtable/status.rb', line 49 def details @details end |
#message ⇒ String
A developer-facing error message, which should be in English.
49 50 51 |
# File 'lib/google/cloud/bigtable/status.rb', line 49 def @message end |