Open giann opened 5 months ago
fun panic(str error, [str]? stack = null) > void;
std
import "std";
|...
setPanic( fun (str error, [str]? stack = null) -> print("Unrecoverable error {error} at: {stack}" ) );
std
method to set a user defined panic function|...
setPanic( fun (str error, [str]? stack = null) -> print("Unrecoverable error {error} at: {stack}" ) );