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-0.13.1 lib/grover/errors.rb
grover-0.12.3 lib/grover/errors.rb
grover-0.12.2 lib/grover/errors.rb
grover-0.12.1 lib/grover/errors.rb