Skip to main content

InternalError

@codebolt/types


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

ParameterTypeDefault value
messagestringundefined
codestringundefined
modulestringundefined
severity"low" | "high" | "medium" | "critical"'medium'
context?Record<string, any>undefined

Returns

InternalError

Overrides

Error.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
codepublicstringundefined-common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:222
context?publicRecord<string, any>undefined-common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:225
messagepublicstringundefinedInternalErrorInterface.message Error.messagenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
modulepublicstringundefined-common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:223
namepublicstringundefinedInternalErrorInterface.name Error.namenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
severitypublic"low" | "high" | "medium" | "critical"'medium'-common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:224
stack?publicstringundefinedInternalErrorInterface.stack Error.stacknode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
stackTrace?publicstringundefined-common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:218
timestamppublicnumberundefined-common/types/src/codeboltjstypes/libFunctionTypes/internal.ts:217