Exception: Zodra::ParamsError
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ ParamsError
constructor
A new instance of ParamsError.
Constructor Details
#initialize(errors) ⇒ ParamsError
Returns a new instance of ParamsError.
14 15 16 17 |
# File 'lib/zodra.rb', line 14 def initialize(errors) @errors = errors super('Params validation failed') end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
12 13 14 |
# File 'lib/zodra.rb', line 12 def errors @errors end |