Exception: ParamsValidator::InvalidParamsException
- Inherits:
-
Exception
- Object
- Exception
- ParamsValidator::InvalidParamsException
- Defined in:
- lib/params_validator.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ InvalidParamsException
constructor
A new instance of InvalidParamsException.
Constructor Details
#initialize(errors) ⇒ InvalidParamsException
Returns a new instance of InvalidParamsException.
9 10 11 12 13 |
# File 'lib/params_validator.rb', line 9 def initialize(errors) @errors = errors super() end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
7 8 9 |
# File 'lib/params_validator.rb', line 7 def errors @errors end |