std.process.panic
Show source codeHide source code
fn pub panic(message: String) -> Never {
inko_process_panic(_INKO.process, message.to_primitive)
}
fn pub static panic(message: String) -> Never
Terminates the program with an error message.
A panic is an unrecoverable error meant to guard against code bugs. For
runtime errors, use try
and throw
instead.