Exception: Otoroshi::Collection::AssertError
- Defined in:
- lib/otoroshi/exceptions.rb
Overview
Manages errors raised when value does not pass the assertion
Instance Method Summary collapse
-
#initialize(property) ⇒ AssertError
constructor
A new instance of AssertError.
Constructor Details
#initialize(property) ⇒ AssertError
Returns a new instance of AssertError.
84 85 86 |
# File 'lib/otoroshi/exceptions.rb', line 84 def initialize(property) super ":#{property} contains elements that do not respect the assertion" end |