Method: Gruf::Errors::Field#error_code

Defined in:
lib/gruf/errors/field.rb

#error_codeSymbol (readonly)

Returns The application error code for the field, e.g. :job_not_found.

Returns:

  • (Symbol)

    The application error code for the field, e.g. :job_not_found



25
26
27
# File 'lib/gruf/errors/field.rb', line 25

def error_code
  @error_code
end