Sha256: b903aac63b141d3e1848fed0f6f7a7eb2da1ccdd2e86d56b199263229dbcfc42

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true
module Opal
  # raised if Gem not found in Opal#use_gem
  class GemNotFound < StandardError
    # name of gem that not found
    attr_reader :gem_name

    # @param gem_name [String] name of gem that not found
    def initialize(gem_name)
      @gem_name = gem_name
      super("can't find gem #{gem_name}")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opal-0.11.4 lib/opal/errors.rb
opal-0.11.3 lib/opal/errors.rb
opal-0.11.2 lib/opal/errors.rb
opal-0.11.1 lib/opal/errors.rb
opal-0.11.1.pre lib/opal/errors.rb
opal-0.11.0 lib/opal/errors.rb
opal-0.11.0.rc1 lib/opal/errors.rb