Sha256: 3d1c69b500dadb274aacb9ab65abfdef1d4a2f3e5d05fadde9bdbb2bb4aee468

Contents?: true

Size: 468 Bytes

Versions: 6

Compression:

Stored size: 468 Bytes

Contents

class SourceHasBeenChangedError < StandardError
  def initialize(error, url)
    super <<-END_RUBY
      \nHi,
      
      It looks like an error has occurred.
      
      Please report it on the Github issue tracker (link below).
      https://github.com/oleander/Undertexter/issues
      
      Here is the error:
      
      \t #{error.message}
      \t #{error.backtrace.first}
      \t #{url}
      
      Thanks for using Undertexter!\n
    END_RUBY
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
undertexter-0.1.12 lib/undertexter/error.rb
undertexter-0.1.11 lib/undertexter/error.rb
undertexter-0.1.10 lib/undertexter/error.rb
undertexter-0.1.9 lib/undertexter/error.rb
undertexter-0.1.8 lib/undertexter/error.rb
undertexter-0.1.7 lib/undertexter/error.rb