@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?
optionaldetail?:string
Defined in: src/lib/problem-details/types.ts:18
Human-readable explanation specific to this occurrence
extensions?
optionalextensions?:T
Defined in: src/lib/problem-details/types.ts:22
RFC 9457 extension members (flattened to top level on serialization)
instance?
optionalinstance?: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"