Exception: Otoroshi::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.
38 39 40 |
# File 'lib/otoroshi/exceptions.rb', line 38 def initialize(property) super ":#{property} does not respect the assertion" end |