MCPcopy
hub / github.com/tj/commander.js / ErrorOptions

Interface ErrorOptions

typings/index.d.ts:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38export { InvalidArgumentError as InvalidOptionArgumentError }; // deprecated old name
39
40export interface ErrorOptions {
41 // optional parameter for error()
42 /** an id string representing the error */
43 code?: string;
44 /** suggested exit code which could be used with process.exit */
45 exitCode?: number;
46}
47
48export class Argument {
49 description: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected