Exception: Micro::Case::Error::UnexpectedResult
- Inherits:
-
TypeError
- Object
- TypeError
- Micro::Case::Error::UnexpectedResult
- Defined in:
- lib/micro/case/error.rb
Constant Summary collapse
- MESSAGE =
'must return an instance of Micro::Case::Result'.freeze
Instance Method Summary collapse
-
#initialize(context) ⇒ UnexpectedResult
constructor
A new instance of UnexpectedResult.
Constructor Details
#initialize(context) ⇒ UnexpectedResult
Returns a new instance of UnexpectedResult.
9 10 11 |
# File 'lib/micro/case/error.rb', line 9 def initialize(context) super("#{context} #{MESSAGE}") end |