Class: Protobuf::Rpc::ClientError

Inherits:
Struct
  • Object
show all
Defined in:
lib/protobuf/rpc/error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



5
6
7
# File 'lib/protobuf/rpc/error.rb', line 5

def code
  @code
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



5
6
7
# File 'lib/protobuf/rpc/error.rb', line 5

def message
  @message
end