diff --git a/sysdata/libraries/stn/src/panic.hb b/sysdata/libraries/stn/src/panic.hb new file mode 100644 index 00000000..eddf15a8 --- /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