Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GovanifY | |
Old Version | Published before Godot 3 was released. |
Somewhat related to my last question.
Is there a way, kinda like try and catch in most programming languages, to get the error message in case of crash instead of making the debugger stopping the game?
As an exemple an user wants to run 2+a but the debugger yields on with the error: “Parser Error: Identifier not found: a”. I would like to be able to get the error as a string (not using printerr or so to print it to command line, I want it to be able to show in-game) and to let the game continue its normal execution.