Exception: Micro::Service::Error::UnexpectedResult
- Inherits:
-
TypeError
- Object
- TypeError
- Micro::Service::Error::UnexpectedResult
- Defined in:
- lib/micro/service/error.rb
Constant Summary collapse
- MESSAGE =
'#call! must return an instance of Micro::Service::Result'.freeze
Instance Method Summary collapse
-
#initialize(klass) ⇒ UnexpectedResult
constructor
A new instance of UnexpectedResult.
Constructor Details
#initialize(klass) ⇒ UnexpectedResult
Returns a new instance of UnexpectedResult.
9 |
# File 'lib/micro/service/error.rb', line 9 def initialize(klass); super(klass.name + MESSAGE); end |