baml.sys.exit

Terminates the process with the given exit `code`.

Reference version

Signature

function baml.sys.exit(code: int) -> never throws never

Terminates the process with the given exit code.

Panics

  • Always panics with baml.panics.Exit which, if unhandled, exits the process.

Source:<builtin>/baml/ns_sys/sys.bamlbytes 8026–8113