class Gapic::GenericLRO::Operation::GenericError


@return [String] An error message
@!attribute [r] message
@return [String] An error code
@!attribute [r] code
Represents a generic error that a generic LRO can report
#

def initialize code, message

Parameters:
  • message (String) -- An error message
  • code (String) -- An error code
def initialize code, message
  @code = code
  @message = message
end