Sha256: d3c38adadb4ff25dbf7f8afa38b733a5ed774b96221c1b2abf052bc4d82c5572

Contents?: true

Size: 612 Bytes

Versions: 27

Compression:

Stored size: 612 Bytes

Contents

# frozen_string_literal: true
require 'theme_check/version'

module ThemeCheck
  class ThemeCheckError < StandardError; end

  BUG_POSTAMBLE = <<~EOS
    Theme Check Version: #{VERSION}
    Ruby Version: #{RUBY_VERSION}
    Platform: #{RUBY_PLATFORM}
    Muffin mode: activated

    ------------------------
    Whoops! It looks like you found a bug in Theme Check.
    Please report it at https://github.com/Shopify/theme-check/issues, and include the message above.
    Or cross your fingers real hard, and try again.
  EOS

  def self.bug(message)
    raise ThemeCheckError, message + BUG_POSTAMBLE
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
theme-check-1.15.0 lib/theme_check/bug.rb
theme-check-1.14.0 lib/theme_check/bug.rb
theme-check-1.13.0 lib/theme_check/bug.rb
theme-check-1.12.1 lib/theme_check/bug.rb
theme-check-1.12.0 lib/theme_check/bug.rb
theme-check-1.11.0 lib/theme_check/bug.rb
theme-check-1.10.3 lib/theme_check/bug.rb
theme-check-1.10.2 lib/theme_check/bug.rb
theme-check-1.10.1 lib/theme_check/bug.rb
theme-check-1.10.0 lib/theme_check/bug.rb
theme-check-1.9.2 lib/theme_check/bug.rb
theme-check-1.9.1 lib/theme_check/bug.rb
theme-check-1.9.0 lib/theme_check/bug.rb
theme-check-1.8.0 lib/theme_check/bug.rb
theme-check-1.7.2 lib/theme_check/bug.rb
theme-check-1.7.1 lib/theme_check/bug.rb
theme-check-1.7.0 lib/theme_check/bug.rb
theme-check-1.6.2 lib/theme_check/bug.rb
theme-check-1.6.1 lib/theme_check/bug.rb
theme-check-1.6.0 lib/theme_check/bug.rb