locusrobotics / robot_navigation

Spiritual successor to ros-planning/navigation.
444 stars 149 forks source link

get the proper exception code #38

Closed cf-zhang closed 5 years ago

cf-zhang commented 5 years ago

when get the exception code through e.getResultCode() always be the base class's code.

because the "resultcode" is hard coded in the exceptions.h. So i change the result code with Member variables in base class.

And add a set of enumeration constants for exceptions.

cf-zhang commented 5 years ago

sorry, for checking failed.

I will fix it,and pull request again