function
isErrorEnvelope
Guard an unknown value as a complete error envelope.
Arguments
| Argument | Type | Description |
|---|---|---|
value | unknown | The value value. |
Returns
The declared result.
booleanHow it works
The guard checks known error codes, integer status, message, optional request ID, and every validation issue. details remains intentionally open.
Full signature
function isErrorEnvelope(value: unknown): value is ErrorEnvelopeRelated types
ErrorEnvelopeThe stable REST error envelope.