Class: Lutaml::Model::InvalidFormatError
- Defined in:
- lib/lutaml/model/error/invalid_format_error.rb
Instance Method Summary collapse
-
#initialize(allowed_format, message = nil) ⇒ InvalidFormatError
constructor
A new instance of InvalidFormatError.
Constructor Details
#initialize(allowed_format, message = nil) ⇒ InvalidFormatError
Returns a new instance of InvalidFormatError.
6 7 8 |
# File 'lib/lutaml/model/error/invalid_format_error.rb', line 6 def initialize(allowed_format, = nil) super("input format is invalid, try to pass correct `#{allowed_format}` format \n#{}\n\n") end |