Sha256: 12ee2478e93ff490d9948c3d1eaec2bd07a19d276ba2926bd1bce12ce381949a

Contents?: true

Size: 650 Bytes

Versions: 25

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

require 'platformos_check/version'

module PlatformosCheck
  class PlatformosCheckError < StandardError; end

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

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

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
platformos-check-0.4.14 lib/platformos_check/bug.rb
platformos-check-0.4.13 lib/platformos_check/bug.rb
platformos-check-0.4.12 lib/platformos_check/bug.rb
platformos-check-0.4.11 lib/platformos_check/bug.rb
platformos-check-0.4.10 lib/platformos_check/bug.rb
platformos-check-0.4.9 lib/platformos_check/bug.rb
platformos-check-0.4.8 lib/platformos_check/bug.rb
platformos-check-0.4.7 lib/platformos_check/bug.rb
platformos-check-0.4.6 lib/platformos_check/bug.rb
platformos-check-0.4.5 lib/platformos_check/bug.rb
platformos-check-0.4.4 lib/platformos_check/bug.rb
platformos-check-0.4.3 lib/platformos_check/bug.rb
platformos-check-0.4.2 lib/platformos_check/bug.rb
platformos-check-0.4.1 lib/platformos_check/bug.rb
platformos-check-0.4.0 lib/platformos_check/bug.rb
platformos-check-0.3.3 lib/platformos_check/bug.rb
platformos-check-0.3.1 lib/platformos_check/bug.rb
platformos-check-0.3.0 lib/platformos_check/bug.rb
platformos-check-0.2.2 lib/platformos_check/bug.rb
platformos-check-0.2.1 lib/platformos_check/bug.rb