Sha256: 0931934bb7fff61217d6d5e4cff3a0999909907e48996359c2027ae11ab0f190

Contents?: true

Size: 200 Bytes

Versions: 52

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true

module GoNative
  module DSL
    module ErrorCatchable
      def call(...)
        super(...)
      rescue Error => e
        warn e.message
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
gonative-cli-0.7.15 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.14 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.13 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.12 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.11 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.10 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.9 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.8 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.7 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.6 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.5 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.4 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.3 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.2 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.1 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.6.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.5.6 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.5.5 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.5.4 lib/gonative/dsl/error_catchable.rb