InternalError
Class: InternalError
Defined in: common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:216
Extends
Error
Implements
Constructors
Constructor
new InternalError(
message: string,
code: string,
module: string,
severity: "low" | "high" | "medium" | "critical",
context?: Record<string, any>): InternalError;
Defined in: common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:220
Parameters
| Parameter | Type | Default value |
|---|---|---|
message | string | undefined |
code | string | undefined |
module | string | undefined |
severity | "low" | "high" | "medium" | "critical" | 'medium' |
context? | Record<string, any> | undefined |
Returns
InternalError
Overrides
Error.constructor
Properties
| Property | Modifier | Type | Default value | Inherited from | Defined in |
|---|---|---|---|---|---|
code | public | string | undefined | - | common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:222 |
context? | public | Record<string, any> | undefined | - | common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:225 |
message | public | string | undefined | InternalErrorInterface.message Error.message | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077 |
module | public | string | undefined | - | common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:223 |
name | public | string | undefined | InternalErrorInterface.name Error.name | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076 |
severity | public | "low" | "high" | "medium" | "critical" | 'medium' | - | common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:224 |
stack? | public | string | undefined | InternalErrorInterface.stack Error.stack | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078 |
stackTrace? | public | string | undefined | - | common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:218 |
timestamp | public | number | undefined | - | common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:217 |