<private> new ProcessUncleanExitError(message, code)
Creates an Error object that contains the exit code of the REG.EXE process.
This contructor is private. Objects of this type are created internally and returned in the err
parameters in case the REG.EXE process doesn't exit cleanly.
Parameters:
Name | Type | Description |
---|---|---|
message |
string | the error message |
code |
number | the process exit code |
Members
-
<readonly> code :number
-
The process exit code.
Type:
- number
-
<readonly> message :string
-
The error message.
Type:
- string
-
<readonly> name :string
-
The error name.
Type:
- string