Exception: Metanorma::Plugin::Plantuml::InvalidFormatError
- Inherits:
-
PlantumlError
- Object
- StandardError
- PlantumlError
- Metanorma::Plugin::Plantuml::InvalidFormatError
- Defined in:
- lib/metanorma/plugin/plantuml/invalid_format_error.rb
Instance Attribute Summary
Attributes inherited from PlantumlError
Instance Method Summary collapse
-
#initialize(format, available_formats) ⇒ InvalidFormatError
constructor
A new instance of InvalidFormatError.
Constructor Details
#initialize(format, available_formats) ⇒ InvalidFormatError
Returns a new instance of InvalidFormatError.
9 10 11 12 13 14 |
# File 'lib/metanorma/plugin/plantuml/invalid_format_error.rb', line 9 def initialize(format, available_formats) super( "Invalid format '#{format}'. Available formats: " \ "#{available_formats.join(', ')}", ) end |