Method: Fix::Protocol::Field#errors

Defined in:
lib/fix/protocol/field.rb

#errorsArray

Returns the errors for this field, if any

Returns:

  • (Array)

    The errors for this field



98
99
100
101
102
# File 'lib/fix/protocol/field.rb', line 98

def errors
  if required && !@value
    "Missing value for <#{name}> field"
  end
end