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



60
61
62
# File 'lib/gruf/error.rb', line 60

def code
  @code
end