Exception: ContractError
- Inherits:
-
ContractBaseError
- Object
- ArgumentError
- ContractBaseError
- ContractError
- Defined in:
- lib/contracts-ruby2/lib/contracts/errors.rb,
lib/contracts-ruby3/lib/contracts/errors.rb
Overview
Default contract error
If default failure callback is used, users normally see only these contract errors
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ContractBaseError
Method Summary
Methods inherited from ContractBaseError
#initialize, #to_contract_error
Constructor Details
This class inherits a constructor from ContractBaseError