Exception: EndpointFlux::Exceptions::Validation
- Defined in:
- lib/endpoint_flux/exceptions/validation.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from EndpointFlux::Exceptions::Base
Instance Method Details
#to_hash ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/endpoint_flux/exceptions/validation.rb', line 4 def to_hash { status: 422, message: 'validation errors', errors: } end |