Skip to content

@adrianhall/cloudflare-toolkit


@adrianhall/cloudflare-toolkit / lib/problem-details / CreateOptions

Interface: CreateOptions<T>

Defined in: src/lib/problem-details/registry.ts:17

Per-instance overrides accepted by ProblemTypeRegistry's create() method.

Type Parameters

T

T extends Record<string, unknown> = Record<string, unknown>

Properties

detail?

optional detail?: string

Defined in: src/lib/problem-details/registry.ts:19

A human-readable explanation specific to this occurrence of the problem.


extensions?

optional extensions?: T

Defined in: src/lib/problem-details/registry.ts:23

Additional problem-specific extension members.


instance?

optional instance?: string

Defined in: src/lib/problem-details/registry.ts:21

A URI identifying this specific occurrence of the problem.