Skip to main content

Interface: ApplicationErrorOptions

Defined in: shared/utils/errorHandling.ts:36

Options for constructing an ApplicationError instance.

Propertiesโ€‹

cause?โ€‹

optional cause?: unknown

Defined in: shared/utils/errorHandling.ts:38

Underlying error cause.


codeโ€‹

code: string

Defined in: shared/utils/errorHandling.ts:40

Machine-readable error code for diagnostics.


details?โ€‹

optional details?: UnknownRecord

Defined in: shared/utils/errorHandling.ts:42

Additional structured metadata for debugging.


messageโ€‹

message: string

Defined in: shared/utils/errorHandling.ts:44

Human-readable error message.


operation?โ€‹

optional operation?: string

Defined in: shared/utils/errorHandling.ts:46

Optional identifier of the operation that failed.