Class Contract::ContractError
In: lib/contract/exception.rb
Parent: StandardError
Contract Contract::ContractError Contract::ContractMismatch Contract::ContractException lib/contract/exception.rb

Represents an unexpected failure while processing a contract test. This is more critical than ContractMismatch and usually means that something is wrong with the test itself.

Included Modules

ContractException

Attributes

type  [R]  The type of the original Exception that triggered the unexpected failure.

[Validate]