halt/[0,1] [ISO]halt
halt(+ExitCode)
Causes an exit from the running process.
Exit status code. Only the lower 8 bits of this value is used.
Causes an exit from the running process with exit code ExitCode. ExitCode defaults to zero which, by convention, signifies a successful exit from the process.
halt/[0,1] is implemented by raising a reserved exception, which has handler
at the top level; see ref-ere-int.
instantiation_error
type_errorabort/0, break/0, runtime_entry/1, ref-ere-int.