diff --git a/sysdata/libraries/stn/src/panic.hb b/sysdata/libraries/stn/src/panic.hb new file mode 100644 index 000000000..eddf15a8e --- /dev/null +++ b/sysdata/libraries/stn/src/panic.hb @@ -0,0 +1,8 @@ +panic := fn(message: ?^u8): void { + if message != null { + log.error(message) + } + // TODO: replace with die keyword when it gets pushed + loop { + } +} \ No newline at end of file