Skip to main content

abort

Function abort 

Source
pub fn abort() -> !
Expand description

Ends the process.

Unwinding across the plug-in boundary into the exehead is undefined behaviour, so a panic in a plug-in has nowhere to go. Terminating is at least defined; the real answer is to return Err rather than panic.