Object
A single error on a field of an API request.
The code for the field error.
The name of the field with the error.
Description of the error.
# File lib/simplify/apiexception.rb, line 99 def initialize(errorData) @fieldName = errorData['field'] @errorCode = errorData['code'] @message = errorData['message'] end
Returns string representation of the error.
# File lib/simplify/apiexception.rb, line 106 def to_s() return "Field error: #{@fieldName} \"#{@message}\" (#{@errorCode})" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.