Skip to content

FormatError

Defined in: packages/core/src/formats/errors.ts:125

A classified cloud-native failure. message is the plain-language sentence; failure keeps the facts for callers that add page context (the resolved URL, a base hint).

  • Error

new FormatError(failure): FormatError

Defined in: packages/core/src/formats/errors.ts:130

ParameterType
failureFormatFailure

FormatError

Error.constructor

readonly failure: FormatFailure

Defined in: packages/core/src/formats/errors.ts:126


readonly url: string

Defined in: packages/core/src/formats/errors.ts:128

Same as failure.url; the shape describeDataProblem already reads.