1 | import { Exception } from '@poppinss/utils';
|
2 | export declare const E_PROMPT_CANCELLED: new (args?: any, options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
3 |
|
4 |
|
5 |
|
6 | export declare const E_MISSING_COMMAND_NAME: new (args: [command: string], options?: ErrorOptions) => Exception;
|
7 |
|
8 |
|
9 |
|
10 | export declare const E_COMMAND_NOT_FOUND: {
|
11 | new (args: [command: string]): {
|
12 | commandName: string;
|
13 | name: string;
|
14 | help?: string;
|
15 | code?: string;
|
16 | status: number;
|
17 | toString(): string;
|
18 | readonly [Symbol.toStringTag]: string;
|
19 | message: string;
|
20 | stack?: string;
|
21 | cause?: unknown;
|
22 | };
|
23 | status: number;
|
24 | help?: string;
|
25 | code?: string;
|
26 | message?: string;
|
27 | captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
28 | prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
29 | stackTraceLimit: number;
|
30 | };
|
31 | /**
|
32 | * Missing a required flag when running the command
|
33 | */
|
34 | export declare const E_MISSING_FLAG: new (args: [flag: string], options?: ErrorOptions) => Exception;
|
35 |
|
36 |
|
37 |
|
38 | export declare const E_MISSING_FLAG_VALUE: new (args: [flag: string], options?: ErrorOptions) => Exception;
|
39 |
|
40 |
|
41 |
|
42 | export declare const E_MISSING_ARG: new (args: [arg: string], options?: ErrorOptions) => Exception;
|
43 |
|
44 |
|
45 |
|
46 | export declare const E_MISSING_ARG_VALUE: new (args: [arg: string], options?: ErrorOptions) => Exception;
|
47 |
|
48 |
|
49 |
|
50 | export declare const E_UNKNOWN_FLAG: new (args: [flag: string], options?: ErrorOptions) => Exception;
|
51 |
|
52 |
|
53 |
|
54 | export declare const E_INVALID_FLAG: new (args: [flag: string, expectedDataType: string], options?: ErrorOptions) => Exception;
|