Class: Kybus::Storage::Exceptions::ValidationErrors
- Inherits:
-
Exceptions::KybusFail
- Object
- Exceptions::KybusFail
- Kybus::Storage::Exceptions::ValidationErrors
- Defined in:
- lib/kybus/storage/datasource/exceptions.rb
Overview
Exception used when a value on a model violates the restrictions from the validators.
Instance Method Summary collapse
-
#initialize(data) ⇒ ValidationErrors
constructor
A new instance of ValidationErrors.
Constructor Details
#initialize(data) ⇒ ValidationErrors
Returns a new instance of ValidationErrors.
21 22 23 |
# File 'lib/kybus/storage/datasource/exceptions.rb', line 21 def initialize(data) super('Error while validating object', 'ValidationErrors', data) end |