abla/process/exit

Generated from source.

Import with import "abla/process/exit".

Source: abla/process/exit/entry.ab

exit (fun)

trusted fun exit(code: int): never

Ends the process now, with code as its exit status.

__ablaPanicContain (fun)

fun __ablaPanicContain(message: string): void

Hands the panic to the caller of a checked export when one is running (the compiler gives it that body in a hosted program with checked exports, see exportCheckedFunction); does nothing elsewhere, at compile time included.

__ablaDebugPrintStack (fun)

fun __ablaDebugPrintStack(): void

Prints the stack to standard error in a debug build of a hosted program (the compiler gives it that body); does nothing elsewhere.

panic (fun)

fun panic(message: string): never

Writes "panic: <message>" to standard error (and, in a debug build, the stack) and exits with status 101.

Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.