Class: ApplicationError
Defined in: shared/utils/errorHandling.ts:106
Application-level error that decorates a cause with operation metadata.
Remarksโ
Normalizes the provided cause to ensure consistent error chaining and keeps diagnostic metadata immutable for safe logging.
Extendsโ
Constructorsโ
Constructorโ
new ApplicationError(
options:ApplicationErrorOptions):ApplicationError
Defined in: shared/utils/errorHandling.ts:119
Parametersโ
optionsโ
Returnsโ
ApplicationError
Overridesโ
Error.constructor
Propertiesโ
codeโ
readonlycode:string
Defined in: shared/utils/errorHandling.ts:108
Machine-readable error code.
operationโ
readonlyoperation:string|undefined
Defined in: shared/utils/errorHandling.ts:111
Identifier of the operation that produced the error.
detailsโ
readonlydetails:Readonly<UnknownRecord> |undefined
Defined in: shared/utils/errorHandling.ts:114
Structured diagnostic metadata.
causeโ
readonlycause:unknown
Defined in: shared/utils/errorHandling.ts:117
Underlying cause of the error chain.
Overridesโ
Error.cause