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

for_response, #ok?

Constructor Details

#initialize(errors) ⇒ ValidationError

Returns a new instance of ValidationError.



218
219
220
# File 'lib/alula/errors.rb', line 218

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



216
217
218
# File 'lib/alula/errors.rb', line 216

def errors
  @errors
end