Method: Gruf::Error#code

Defined in:
lib/gruf/error.rb

#codeSymbol

Returns The given internal gRPC code for the error.

Returns:

  • (Symbol)

    The given internal gRPC code for the error



55
56
57
# File 'lib/gruf/error.rb', line 55

def code
  @code
end