Exception: ForestAdminAgent::Http::Exceptions::ValidationError

Inherits:
BadRequestError show all
Defined in:
lib/forest_admin_agent/http/Exceptions/business_error.rb

Instance Attribute Summary

Attributes inherited from BusinessError

#cause, #details

Instance Method Summary collapse

Methods inherited from BusinessError

#name

Constructor Details

#initialize(message = 'Validation failed', details: {}) ⇒ ValidationError

Returns a new instance of ValidationError.



32
33
34
# File 'lib/forest_admin_agent/http/Exceptions/business_error.rb', line 32

def initialize(message = 'Validation failed', details: {})
  super
end