contracts/common.md#principled-implementation The record lists the same method, path, status and headers as the error and a body-typed message, matching toJSON's result. The caller's T and actual body must be JSON-compatible for JSON.stringify; this generic record does not establish serializability.
Evidence
contracts/common.md#clear-and-simple-design Five fields in the error's namespace, used only for the method result.
Evidence
contracts/common.md#prohibited-implementation-shortcuts A data record.
Evidence
contracts/common.md#meaningful-documentation Each field has a one-line comment and the type parameter is described.
JSON representation of HttpError.
Evidence
contracts/common.md#principled-implementation The record lists the same method, path, status and headers as the error and a body-typed message, matching toJSON's result. The caller's T and actual body must be JSON-compatible for JSON.stringify; this generic record does not establish serializability.
Evidence
contracts/common.md#clear-and-simple-design Five fields in the error's namespace, used only for the method result.
Evidence
contracts/common.md#prohibited-implementation-shortcuts A data record.
Evidence
contracts/common.md#meaningful-documentation Each field has a one-line comment and the type parameter is described.