-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate goal and handle plan parsing errors in SequentialPlanner (#707)
Added a check for empty goal in CreatePlanAsync method and threw a PlanningException with appropriate error code. Wrapped the plan parsing logic in a try-catch block and re-threw any exceptions as PlanningExceptions with a different error code. This improves the robustness and usability of the SequentialPlanner class.
- Loading branch information
1 parent
0bad4c1
commit 883443f
Showing
2 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters