# frozen_string_literal: true module Micro module Case class Safe < Case::Base def call super rescue => exception raise exception if Error::ByWrongUsage.check(exception) Failure(exception) end end end end