Exception: InvariantError
- Inherits:
-
StandardError
- Object
- StandardError
- InvariantError
- Defined in:
- lib/contracts-ruby2/lib/contracts/errors.rb,
lib/contracts-ruby3/lib/contracts/errors.rb
Overview
Base invariant violation error
Instance Method Summary collapse
Instance Method Details
#to_contract_error ⇒ Object
42 43 44 |
# File 'lib/contracts-ruby2/lib/contracts/errors.rb', line 42 def to_contract_error self end |