ibfoamrig.exceptions.FoamParseError#

class ibfoamrig.exceptions.FoamParseError(path, reason, line=None)[source]#

Bases: IbfoamrigError

Raised when a file cannot be parsed into the expected structure.

Variables:
  • path – Path to the file that failed to parse.

  • reason – Human-readable description of the problem.

  • line – Line number of the offending line, if known.