Exception: SourceHasBeenChangedError
- Inherits:
-
StandardError
- Object
- StandardError
- SourceHasBeenChangedError
- Defined in:
- lib/undertexter/error.rb
Instance Method Summary collapse
-
#initialize(error, url) ⇒ SourceHasBeenChangedError
constructor
A new instance of SourceHasBeenChangedError.
Constructor Details
#initialize(error, url) ⇒ SourceHasBeenChangedError
Returns a new instance of SourceHasBeenChangedError.
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/undertexter/error.rb', line 2 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.} \t #{error.backtrace.first} \t #{url} Thanks for using Undertexter!\n END_RUBY end |