File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,4 +19,6 @@ export enum AskCodebaseErrorCode {
1919 E10008 = 10008 ,
2020 /** Environment variable not set */
2121 E10009 = 10009 ,
22+ /** Internal error */
23+ E10010 = 10010 ,
2224}
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";
99export * from "./ErrorStateNull" ;
1010export * from "./ErrorAuthentication" ;
1111export * from "./ErrorEnvVariable" ;
12+ export * from "./ErrorInternal" ;
You can’t perform that action at this time.
0 commit comments