Variant
header-error
This type enumerates the different kinds of errors that may occur when
setting or appending to a fields resource.
variant header-error {
invalid-syntax,
forbidden,
immutable,
}Cases
| Case | Payload | Description |
|---|---|---|
| invalid-syntax | — | This error indicates that a field-name or field-value was
syntactically invalid when used with an operation that sets headers in a
fields. |
| forbidden | — | This error indicates that a forbidden field-name was used when trying
to set a header in a fields. |
| immutable | — | This error indicates that the operation on the fields was not
permitted because the fields are immutable. |