Exception: Datafile::DatasetNotFoundError
- Defined in:
- lib/datafile/workers/dataset.rb
Overview
todo/check: rename to DatasetNotFound or similar?? use “common” error class - why? why not?
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ DatasetNotFoundError
constructor
A new instance of DatasetNotFoundError.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ DatasetNotFoundError
Returns a new instance of DatasetNotFoundError.
15 16 17 |
# File 'lib/datafile/workers/dataset.rb', line 15 def initialize( ) = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
13 14 15 |
# File 'lib/datafile/workers/dataset.rb', line 13 def end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/datafile/workers/dataset.rb', line 19 def to_s "datset not found => #{@message}" end |