panic¶
panic :: fn (args: ...)
Abort execution and eventually print panic message if there is one specified. First passed argument in ‘args’ will act like format string and can be eventually followed by any additional values required.
Example¶
panic(); // abort without any messages
panic("oops!"); // abort with message prited out.
panic("Failed with error: %", errn); // first argument passed acts like formating string
Declared in: debug.bl