Closed shaun-edwards closed 7 years ago
@geoffreychiou, could you take a look at this.
@nsnitish, please take a look at this. Exceptions are and obvious solution to this. I don't believe any of the standard exceptions apply, but you should probably inherit from std::runtime_error
. See here for some more background.
This has been addressed in PR #18
Because
addTrajPoint
andexecute
return true on success, otherwise false, handling failures can make for ugly code:Perhaps we should consider changing to throwing exceptions.