Exception: Alula::ValidationError

Inherits:
AlulaError
  • Object
show all
Defined in:
lib/alula/errors.rb

Instance Attribute Summary collapse

Attributes inherited from AlulaError

#error, #http_status, #message, #raw_response

Instance Method Summary collapse

Methods inherited from AlulaError

critical_error_for_response, error_for_response, errors_for_response, for_response, #ok?

Constructor Details

#initialize(errors) ⇒ ValidationError

Returns a new instance of ValidationError.



173
174
175
# File 'lib/alula/errors.rb', line 173

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



171
172
173
# File 'lib/alula/errors.rb', line 171

def errors
  @errors
end