Sha256: 83379875a5e7926b8629f5f08f8a01c6c0045cadd70e0ff5016e4d63b8279554

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

require_relative "string_helpers"
require_relative "config_values"

module Errors

  def self.display_error(msg, show_issues_url = false)
    puts
    StringHelpers.wputs msg, :error
    puts

    if show_issues_url
      StringHelpers.wputs "If you can't fix this error, please file an issue report at #{ConfigValues.issue_path}"
      puts
    end

  end

end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
railsbricks-3.7.0 lib/railsbricks/errors.rb
railsbricks-reloaded-3.2.1 lib/railsbricks/errors.rb
phoenixbricks-3.2.7 lib/railsbricks/errors.rb
phoenixbricks-3.2.6 lib/railsbricks/errors.rb