panic func in stn
This commit is contained in:
parent
3c3c156eb0
commit
80d363bc59
8
sysdata/libraries/stn/src/panic.hb
Normal file
8
sysdata/libraries/stn/src/panic.hb
Normal 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 {
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue