Skip to content

Commit 3ef10a9

Browse files
committed
Remove CLIErrorType.Unreachable
It is no longer used.
1 parent 886d8d8 commit 3ef10a9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/error.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export enum CLIErrorType {
55
InvalidAction,
66
OptionRequired,
77
NoSuchAddress,
8-
Unreachable,
98
Unknown
109
}
1110

@@ -27,8 +26,6 @@ function getErrorMessage(type: CLIErrorType, args: any = {}) {
2726
return `Option --${args.optionName} is required`;
2827
case CLIErrorType.NoSuchAddress:
2928
return `${args.address} is not found`;
30-
case CLIErrorType.Unreachable:
31-
return "Unreachable code reached";
3229
case CLIErrorType.Unknown:
3330
return `Internal error ${args.message}`;
3431
default:

0 commit comments

Comments
 (0)