finesse.exceptions.ModelMissingAttributeError

Overview

class finesse.exceptions.ModelMissingAttributeError(target: Any, resolved_attrs: list[str], missing_name: str)[source]

Bases: ModelAttributeError

Error indicating a model path was not found.

Model paths can be e.g. l1.P or s1.p1.o.

This exists mainly so it can be caught by the parser.