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.



184
185
186
# File 'lib/alula/errors.rb', line 184

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



182
183
184
# File 'lib/alula/errors.rb', line 182

def errors
  @errors
end