Skip to main content

Interface: ApplicationErrorOptions

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

Options for constructing an ApplicationError instance.

Propertiesโ€‹

cause?โ€‹

optional cause: unknown

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

Underlying error cause.


codeโ€‹

code: string

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

Machine-readable error code for diagnostics.


details?โ€‹

optional details: Record<string, unknown>

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

Additional structured metadata for debugging.


messageโ€‹

message: string

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

Human-readable error message.


operation?โ€‹

optional operation: string

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

Optional identifier of the operation that failed.