Exception: DTK::ErrorConstraintViolations

Inherits:
ErrorUsage show all
Defined in:
lib/errors/errors.rb

Constant Summary

Constants inherited from Error

DTK::Error::CallerOffset, DTK::Error::DefaultCallerDepth

Instance Method Summary collapse

Methods inherited from Error

#to_hash, top_error_in_hash

Constructor Details

#initialize(violations) ⇒ ErrorConstraintViolations

Returns a new instance of ErrorConstraintViolations.



65
66
67
# File 'lib/errors/errors.rb', line 65

def initialize(violations)
   super(msg(violations),:ConstraintViolations)
end