Exception: DerivativeRodeo::Errors::ExtensionMissingError

Inherits:
Error
  • Object
show all
Defined in:
lib/derivative_rodeo/errors.rb

Overview

Raised because the Generator class must declare an extension for the output file extension

Instance Method Summary collapse

Constructor Details

#initialize(klass: '') ⇒ ExtensionMissingError

Returns a new instance of ExtensionMissingError.



54
55
56
# File 'lib/derivative_rodeo/errors.rb', line 54

def initialize(klass: '')
  super("Extension must be declared in the Generator class #{klass}")
end