-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Labels
FeatureNew feature or requestNew feature or request
Description
There is a recently created consolidated location for ActivitySim errors, exceptions, and model problems, in core/exceptions.py. We should move various generic runtime errors here, which also provides a good place to document each kind of problem.
Non-exhaustive set of errors that I found that could be consolidated:
-
RuntimeError("accessibility table is not empty.") -
RuntimeError(f"{tours_without_persons.sum()} tours with bad person_id") -
RuntimeError(f"{num_tours_remaining} tours could not be satisfied after {iter} iterations") -
RuntimeError("failed trips with relative scheduling mode") -
RuntimeError("Bad row cardinality ...) -
RuntimeError("Bad non_mandatory tour frequencies") -
report_bad_choices(...)
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or request