Exception: ContractError

Inherits:
ContractBaseError show all
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

ParamContractError, ReturnContractError

Instance Attribute Summary

Attributes inherited from ContractBaseError

#data

Method Summary

Methods inherited from ContractBaseError

#initialize, #to_contract_error

Constructor Details

This class inherits a constructor from ContractBaseError