Sha256: 818fc3a37ec3fc51514ac1fb028f5d6df6718d37833212b038c7083dbdc13c66
Contents?: true
Size: 260 Bytes
Versions: 3
Compression:
Stored size: 260 Bytes
Contents
# 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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
u-case-1.1.0 | lib/micro/case/safe.rb |
u-case-1.0.0 | lib/micro/case/safe.rb |
u-case-1.0.0.rc1 | lib/micro/case/safe.rb |