Exception: Arcade::InvalidParamsError
- Inherits:
-
StandardError
- Object
- StandardError
- Arcade::InvalidParamsError
- Defined in:
- lib/arcade/errors.rb
Overview
used by Dry::Validation, not covered by “error”
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object, message) ⇒ InvalidParamsError
constructor
# @param [String] message of the error.
Constructor Details
#initialize(object, message) ⇒ InvalidParamsError
# @param [String] message of the error.
32 33 34 35 |
# File 'lib/arcade/errors.rb', line 32 def initialize(object, ) @object = object super() end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
29 30 31 |
# File 'lib/arcade/errors.rb', line 29 def object @object end |