Exception: Menuconform::Importers::SourceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/menuconform/importers/base.rb

Overview

An importer turns one source-system export into a Menu IR document. Contract: #call(source, config:) -> Result. Importers NEVER raise on semantically broken menus (that's the rule engine's job) — they raise Importers::SourceError only when the input isn't recognizably the expected source format at all. Vendor field mappings belong in the importer's JSON config (config/importers/.json), not in code.