2019-02-27 02:53:32 +00:00
|
|
|
<a name="exit"></a>
|
|
|
|
|
|
|
|
## 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 | <code>string</code> | | Reason for exit |
|
|
|
|
| code | <code>integer</code> | <code>0</code> | process exit code, default 0 |
|
|
|
|
|