panic func in stn

This commit is contained in:
Able 2024-11-01 15:11:33 -05:00
parent 3c3c156eb0
commit 80d363bc59

View file

@ -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 {
}
}