Reference documentation and code samples for the gapic-common class Gapic::GenericLRO::Operation::GenericError.
Represents a generic error that a generic LRO can report
Inherits
- Object
Methods
#code
def code() -> String
Returns
- (String) — An error code
#code=
def code=(value)
Sets the attribute code
#initialize
def initialize(code, message) -> GenericError
Parameters
- code (String) — An error code
- message (String) — An error message
Returns
- (GenericError) — a new instance of GenericError
#message
def message() -> String
Returns
- (String) — An error message
#message=
def message=(value)
Sets the attribute message