Type alias CorjMakerOptions
CorjMakerOptions: { asJsonFormatsToApply: [CorjAsJsonFormat, ...CorjAsJsonFormat[]]; asStringFormatsToApply: [CorjAsStringFormat, ...CorjAsStringFormat[]]; childrenMetadataFields: boolean | CorjMakerOptionsMetadataFieldsConfig; childrenSources: string[]; makeReportId: ((context) => string); maxChildrenLevel: number; metadataFields: boolean | CorjMakerOptionsMetadataFieldsConfig; onCaughtMaking: CorjMakerOnCaughtMakingCallbackFn | null; parseStackToArray: boolean; printWarningsOnUnhandledErrors: boolean; } Type declaration
childrenMetadataFields: boolean | CorjMakerOptionsMetadataFieldsConfig
childrenSources: string[]
makeReportId: ((context) => string)
- (context): string
Parameters
- context: {
caught: unknown;
index: number;
level: number;
path: string;
}caught: unknown
index: number
level: number
path: string
Returns string
maxChildrenLevel: number
metadataFields: boolean | CorjMakerOptionsMetadataFieldsConfig
parseStackToArray: boolean
printWarningsOnUnhandledErrors: boolean
Fields to use as children.