RocketPy icon indicating copy to clipboard operation
RocketPy copied to clipboard

ENH: Custom Exception errors and messages

Open Gui-FernandesBR opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

After years using RocketPy, we already know what are common errors and mistakes that usually new users tends to do. Of course we will always try to improve our docs based on that experience, but I think that we could think on how to avoid the frustraction of not having a clue of what is wrong with your simulation

Describe the solution you'd like

Create dedicated exception and warning messages for common problems as I mentioned above. An example would be the static margin with negative values, we should alert the user right after he/she creates the rocket object.

Additional context

TBD further researches on this topic.

Gui-FernandesBR avatar Nov 12 '22 07:11 Gui-FernandesBR

TODO: add custom warning o when the rocket doesn't have a motors, parachute, or AeroSurface

Gui-FernandesBR avatar May 15 '24 13:05 Gui-FernandesBR