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-1.2.1 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.2.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.1.2 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.1.1 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.1.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.6 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.5 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.4 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.3 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.2 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.1 lib/gonative/dsl/error_catchable.rb
gonative-cli-1.0.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.9.3 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.9.2 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.9.1 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.9.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.8.1 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.8.0 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.17 lib/gonative/dsl/error_catchable.rb
gonative-cli-0.7.16 lib/gonative/dsl/error_catchable.rb