We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 886d8d8 commit 3ef10a9Copy full SHA for 3ef10a9
src/error.ts
@@ -5,7 +5,6 @@ export enum CLIErrorType {
5
InvalidAction,
6
OptionRequired,
7
NoSuchAddress,
8
- Unreachable,
9
Unknown
10
}
11
@@ -27,8 +26,6 @@ function getErrorMessage(type: CLIErrorType, args: any = {}) {
27
26
return `Option --${args.optionName} is required`;
28
case CLIErrorType.NoSuchAddress:
29
return `${args.address} is not found`;
30
- case CLIErrorType.Unreachable:
31
- return "Unreachable code reached";
32
case CLIErrorType.Unknown:
33
return `Internal error ${args.message}`;
34
default:
0 commit comments