Skip to main content

Interface: ErrorHandlingBackendContext

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

Backend-specific context required for withErrorHandling logging.

Propertiesโ€‹

loggerโ€‹

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

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

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

Optional identifier describing the operation being executed.