Exception: Tracksperanto::Pipeline::NoTrackersRecoveredError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Tracksperanto::Pipeline::NoTrackersRecoveredError
- Defined in:
- lib/pipeline/base.rb
Instance Method Summary collapse
-
#initialize(importer) ⇒ NoTrackersRecoveredError
constructor
A new instance of NoTrackersRecoveredError.
- #message ⇒ Object
Constructor Details
#initialize(importer) ⇒ NoTrackersRecoveredError
Returns a new instance of NoTrackersRecoveredError.
19 20 21 22 23 |
# File 'lib/pipeline/base.rb', line 19 def initialize(importer) if importer.class.known_snags @snags = "Also note that this particular format (%s) has the following snags: %s" % [importer.const_name, importer.class.known_snags] end end |
Instance Method Details
#message ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/pipeline/base.rb', line 25 def ; [ "Could not recover any non-empty trackers from this file.", "Wrong import format maybe?", @snags ].join("\n") end |