Exception: Submarine::MissingFormatKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- Submarine::MissingFormatKeyError
- Defined in:
- lib/submarine/exceptions.rb
Overview
If no :format_key is sent to Submarine.new, throw this.
Instance Method Summary collapse
-
#initialize(message = 'No format key provided') ⇒ MissingFormatKeyError
constructor
A new instance of MissingFormatKeyError.
Constructor Details
#initialize(message = 'No format key provided') ⇒ MissingFormatKeyError
Returns a new instance of MissingFormatKeyError.
14 15 16 |
# File 'lib/submarine/exceptions.rb', line 14 def initialize( = 'No format key provided') super() end |