Exception: Coltrane::WrongRepresentationTypeError
- Inherits:
-
CommandError
- Object
- StandardError
- CommandError
- Coltrane::WrongRepresentationTypeError
- Defined in:
- lib/coltrane/commands/errors.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ WrongRepresentationTypeError
constructor
A new instance of WrongRepresentationTypeError.
Constructor Details
#initialize(type) ⇒ WrongRepresentationTypeError
Returns a new instance of WrongRepresentationTypeError.
25 26 27 28 |
# File 'lib/coltrane/commands/errors.rb', line 25 def initialize(type) super "The provided representation type (#{type}) "\ 'is not available at the moment.' end |