mcopy/lib/exit/Readme.md

368 B

exit(msg, code)

Exit process with either a 0 code or other specified failure code. Print message to console first.

Kind: global function

Param Type Default Description
msg string Reason for exit
code integer 0 process exit code, default 0