File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,6 @@ export enum AskCodebaseErrorCode {
19
19
E10008 = 10008 ,
20
20
/** Environment variable not set */
21
21
E10009 = 10009 ,
22
+ /** Internal error */
23
+ E10010 = 10010 ,
22
24
}
Original file line number Diff line number Diff line change
1
+ import { AskCodebaseError } from "./AskCodebaseError" ;
2
+ import { AskCodebaseErrorCode } from "./AskCodebaseErrorCode" ;
3
+
4
+ export class ErrorInternal extends AskCodebaseError {
5
+ public static code = AskCodebaseErrorCode . E10010 ;
6
+
7
+ constructor ( message : string = "Internal error" ) {
8
+ super ( ErrorInternal . code , message ) ;
9
+ }
10
+ }
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ export * from "./ErrorGoogleUser";
9
9
export * from "./ErrorStateNull" ;
10
10
export * from "./ErrorAuthentication" ;
11
11
export * from "./ErrorEnvVariable" ;
12
+ export * from "./ErrorInternal" ;
You can’t perform that action at this time.
0 commit comments