Class: Micro::Service::Safe
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
&, >>, __failure_type, __new__, #__set_result__, call, #call!, to_proc
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 |
# File 'lib/micro/service/safe.rb', line 6 def call super rescue => exception raise exception if Error::ByWrongUsage.check(exception) Failure(exception) end |