Skip to content

@adrianhall/cloudflare-toolkit


@adrianhall/cloudflare-toolkit / index / ProblemDetails

Interface: ProblemDetails<T> ​

Defined in: src/lib/problem-details/types.ts:10

RFC 9457 Problem Details object. Supports 5 standard fields + extension members.

Type Parameters ​

T ​

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

Properties ​

detail? ​

optional detail?: string

Defined in: src/lib/problem-details/types.ts:18

Human-readable explanation specific to this occurrence


extensions? ​

optional extensions?: T

Defined in: src/lib/problem-details/types.ts:22

RFC 9457 extension members (flattened to top level on serialization)


instance? ​

optional instance?: string

Defined in: src/lib/problem-details/types.ts:20

URI that identifies the specific occurrence


status ​

status: number

Defined in: src/lib/problem-details/types.ts:14

HTTP status code


title ​

title: string

Defined in: src/lib/problem-details/types.ts:16

Short summary of the problem type


type ​

type: string

Defined in: src/lib/problem-details/types.ts:12

Problem type URI. Default: "about:blank"