Errors and warnings#

Exceptions and warnings raised by loadtracer.

Every error raised while processing a member carries that member’s tag so that a failure deep in a load rundown can be traced back to the drawing.

exception loadtracer.errors.LoadTracerError(message, tag=None)[source]#

Bases: Exception

Base class for all loadtracer errors.

Parameters:
  • tag (str | None) – The tag of the member being processed when the error occurred

  • message (str)

exception loadtracer.errors.ReactionNotFoundError(message, tag=None)[source]#

Bases: LoadTracerError

A member receives a load from a source member whose reactions are not available (the source was excluded, failed, or has no such reaction index).

Parameters:
  • message (str)

  • tag (str | None)

exception loadtracer.errors.UnstableMemberError(message, tag=None)[source]#

Bases: LoadTracerError

A member cannot be analyzed because its supports do not make it stable (e.g. a beam with fewer than two supports).

Parameters:
  • message (str)

  • tag (str | None)

exception loadtracer.errors.InvalidPapermodelError(message, tag=None)[source]#

Bases: LoadTracerError

A papermodel dict does not have the shape or values that loadtracer expects.

Parameters:
  • message (str)

  • tag (str | None)

exception loadtracer.errors.AnalysisError(message, tag=None)[source]#

Bases: LoadTracerError

The analysis model of a member could not be built or solved.

Parameters:
  • message (str)

  • tag (str | None)

exception loadtracer.errors.LoadTracerWarning[source]#

Bases: UserWarning

Base class for loadtracer warnings. Issued for input that loadtracer can process but that the designer should review.