Monty.Frameworks.Models.MotorPolicies.NoGoalProvided exception (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Raised when a policy needs a goal and was given none.

Mirrors tbp/monty/frameworks/models/motor_policies.py::NoGoalProvided, a RuntimeError with nothing in it. It is raised rather than returned because the caller that reaches it has already decided there must be a goal: a selector routed a goal to a policy that reaches it, and the goal was nil.