pub fn parse_config_file(path: &Path) -> Result<ConfigReport, ApiError>Expand description
Reads and parses a cfg file, as TLC’s -config does.
Malformed UTF-8 is read as U+FFFD, like TLC’s reader, with a
DIVE-C0004 warning.
§Errors
ApiError::Io if the file cannot be read, and
ApiError::Unsupported for a configuration embedded in a .tla file
(TLC reads those through MonolithSpecExtractor; dive does not yet).