Module Contract::ContractException
In: lib/contract/exception.rb
Contract Contract::ContractError Contract::ContractMismatch Contract::ContractException lib/contract/exception.rb

Exceptions raised by Contract contain some useful meta-information. This module is mixed into Exceptions that provide such information.

Attributes

original_message  [R]  The original, unfiltered exception message.
test_contract  [R]  What contract was that method part of?
test_method  [R]  What method implemented that test?
test_object  [R]  What object was tested when this Exception was raised?

[Validate]