ifcopenshell.simple_spf.parser.errors

Module Contents

exception ifcopenshell.simple_spf.parser.errors.CollectedValidationErrors(errors)

Bases: _ValidationError

Common base class for all non-exit exceptions.

Initialize self. See help(type(self)) for accurate signature.

asdict(with_message=True)
errors
exception ifcopenshell.simple_spf.parser.errors.DuplicateNameError(filecontent, name, linenumbers)

Bases: _ValidationError

Common base class for all non-exit exceptions.

Initialize self. See help(type(self)) for accurate signature.

asdict(with_message=True)
filecontent
linenumbers
name
exception ifcopenshell.simple_spf.parser.errors.HeaderFieldError(field, found_len, expected_len)

Bases: _ValidationError

Common base class for all non-exit exceptions.

Initialize self. See help(type(self)) for accurate signature.

asdict(with_message=True)
expected_len
field
found_len
exception ifcopenshell.simple_spf.parser.errors.InvalidNameError(filecontent, name, linenumbers)

Bases: _ValidationError

Common base class for all non-exit exceptions.

Initialize self. See help(type(self)) for accurate signature.

asdict(with_message=True)
filecontent
linenumbers
name
exception ifcopenshell.simple_spf.parser.errors.SyntaxError(filecontent, exception)

Bases: _ValidationError

Common base class for all non-exit exceptions.

Initialize self. See help(type(self)) for accurate signature.

asdict(with_message=True)
exception
filecontent
class ifcopenshell.simple_spf.parser.errors.ErrorCollector
add(error)
raise_if_any()
errors = []