Skip to main content

Interface: ErrorHandlingBackendContext

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

Backend-specific context required for withErrorHandling logging.

Propertiesโ€‹

loggerโ€‹

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

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

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:164

Optional identifier describing the operation being executed.