Skip to main content

Interface: ErrorHandlingBackendContext

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

Backend-specific context required for withErrorHandling logging.

Propertiesโ€‹

loggerโ€‹

readonly logger: { error: (msg: string, err: unknown) => void; }

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

Structured logger used for backend error reporting.

errorโ€‹

error: (msg: string, err: unknown) => void

Parametersโ€‹
msgโ€‹

string

errโ€‹

unknown

Returnsโ€‹

void


operationName?โ€‹

readonly optional operationName?: string

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

Optional identifier describing the operation being executed.