انتقل إلى المحتوى الرئيسي

Interface: ProblemOptions

Defined in: packages/common/src/problem.ts:168

Options shared by the problem factories.

Properties​

cause?​

readonly optional cause?: unknown

Defined in: packages/common/src/problem.ts:174

The underlying error, kept for logs. Never serialised into the response.


correlationId?​

readonly optional correlationId?: string

Defined in: packages/common/src/problem.ts:172

Defaults to the ambient correlation id, or a fresh one outside a context.


detail?​

readonly optional detail?: string

Defined in: packages/common/src/problem.ts:170

Occurrence-specific text, safe for the caller. It is scrubbed for secret shapes regardless.