Exception: Goliath::Rack::Validation::FailedCoerce
- Inherits:
-
StandardError
- Object
- StandardError
- Goliath::Rack::Validation::FailedCoerce
- Defined in:
- lib/goliath/rack/validation/param.rb,
lib/goliath/rack/validation/coerce.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ FailedCoerce
constructor
A new instance of FailedCoerce.
Constructor Details
#initialize(error) ⇒ FailedCoerce
Returns a new instance of FailedCoerce.
6 7 8 |
# File 'lib/goliath/rack/validation/param.rb', line 6 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
5 6 7 |
# File 'lib/goliath/rack/validation/param.rb', line 5 def error @error end |