Skip to content

Commit

Permalink
feat: added a PlanningChange exception to interrupt service vehicle l…
Browse files Browse the repository at this point in the history
…oops (#46)
  • Loading branch information
leo-desbureaux-tellae authored Mar 23, 2022
1 parent 97f1599 commit 436039e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions starling_sim/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ class SimulationError(LeavingSimulation):
"""


class PlanningChange(Exception):
"""
Exception raised to interrupt a service vehicle loop
when its planning has changed.
"""


# json utils

def json_dump(data, filepath):
Expand Down

0 comments on commit 436039e

Please sign in to comment.