ErrorSchema
type ErrorSchema<T extends JsonValue> = unknownPhantom-typed marker for the JSON shape of a FlareError detail payload.
Learn: Typed errors
errorSchema()
Section titled “errorSchema()”function errorSchema<T extends JsonValue>(): ErrorSchema<T>Declares the JSON shape of a FlareError detail payload for type-level inference.
returns ErrorSchema<T>