Exception: Coltrane::HasNoNotesError
- Inherits:
-
BadConstructorError
- Object
- StandardError
- ColtraneError
- BadConstructorError
- Coltrane::HasNoNotesError
- Defined in:
- lib/coltrane/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ HasNoNotesError
constructor
A new instance of HasNoNotesError.
Constructor Details
#initialize ⇒ HasNoNotesError
Returns a new instance of HasNoNotesError.
43 44 45 46 |
# File 'lib/coltrane/errors.rb', line 43 def initialize super 'The given object does not respond to :notes, '\ "thereby it can't be used for this operation)" end |