Sha256: 0063c929802da98a53fd20f47f5db9a97b7f5cc96740c92702d90af286c9e8a5

Contents?: true

Size: 491 Bytes

Versions: 24

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

class Grover
  #
  # Error classes for calling out to Puppeteer NodeJS library
  #
  # Heavily based on the Schmooze library https://github.com/Shopify/schmooze
  #
  Error = Class.new(StandardError)
  DependencyError = Class.new(Error)
  module JavaScript # rubocop:disable Style/Documentation
    Error = Class.new(::Grover::Error)
    UnknownError = Class.new(Error)
    def self.const_missing(name)
      const_set name, Class.new(Error)
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
grover-1.1.8 lib/grover/errors.rb
grover-1.1.7 lib/grover/errors.rb
grover-1.1.6 lib/grover/errors.rb
grover-1.1.5 lib/grover/errors.rb
grover-1.1.4 lib/grover/errors.rb
grover-1.1.3 lib/grover/errors.rb
grover-1.1.2 lib/grover/errors.rb
grover-1.1.1 lib/grover/errors.rb
grover-1.1.0 lib/grover/errors.rb
grover-1.0.6 lib/grover/errors.rb
grover-1.0.5 lib/grover/errors.rb
grover-1.0.4 lib/grover/errors.rb
grover-1.0.3 lib/grover/errors.rb
grover-1.0.2 lib/grover/errors.rb
grover-1.0.1 lib/grover/errors.rb
grover-1.0.0 lib/grover/errors.rb
grover-0.14.2 lib/grover/errors.rb
grover-0.14.1 lib/grover/errors.rb
grover-0.13.3 lib/grover/errors.rb
grover-0.13.2 lib/grover/errors.rb