Exception: Vectory::InvalidFormatError
- Defined in:
- lib/vectory/errors.rb
Instance Method Summary collapse
-
#initialize(format, supported_formats) ⇒ InvalidFormatError
constructor
A new instance of InvalidFormatError.
Constructor Details
#initialize(format, supported_formats) ⇒ InvalidFormatError
Returns a new instance of InvalidFormatError.
21 22 23 |
# File 'lib/vectory/errors.rb', line 21 def initialize(format, supported_formats) super("Invalid format '#{format}'. Supported formats: #{supported_formats.join(', ')}") end |