Exception: EnvValidator::ConstraintError
- Inherits:
-
ValidationError
- Object
- StandardError
- Error
- ValidationError
- EnvValidator::ConstraintError
- Defined in:
- lib/env_validator/error.rb
Instance Attribute Summary
Attributes inherited from ValidationError
Instance Method Summary collapse
-
#initialize(variable_name, rule, constraint_type, constraint_value, actual_value) ⇒ ConstraintError
constructor
A new instance of ConstraintError.
Constructor Details
#initialize(variable_name, rule, constraint_type, constraint_value, actual_value) ⇒ ConstraintError
Returns a new instance of ConstraintError.
77 78 79 80 |
# File 'lib/env_validator/error.rb', line 77 def initialize(variable_name, rule, constraint_type, constraint_value, actual_value) = (variable_name, constraint_type, constraint_value, actual_value) super(variable_name, rule, ) end |