Exception: Micro::Case::Error::UnexpectedResult

Inherits:
TypeError
  • Object
show all
Defined in:
lib/micro/case/error.rb

Constant Summary collapse

MESSAGE =
'must return an instance of Micro::Case::Result'.freeze

Instance Method Summary collapse

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