You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of the panicking operations now have a fallible overload, see #634.
It can still make sense to customize the behavior when actual panics happen. One idea:
unsafeimplExtensionLibraryforMyLibrary{fnpanic_behavior() -> PanicBehavior{ ...}}enumPanicBehavior{Default,// print to stdout + GodotCrashEngine,Breakpoint,// nightly-onlyCustom{callback:Box<dynFnMut(...)>,// parameter could be message or panic object}}
When a panic in gdext or Rust code happens, it is currently caught and displayed as a Godot error and on the command line.
Users may want to customize this. Behaviors could be:
breakpoint
or platform specific crates/code)The text was updated successfully, but these errors were encountered: