Wasm Directoryalpha
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

CasePayloadDescription
invalid-syntaxThis error indicates that a field-name or field-value was syntactically invalid when used with an operation that sets headers in a fields.
forbiddenThis error indicates that a forbidden field-name was used when trying to set a header in a fields.
immutableThis error indicates that the operation on the fields was not permitted because the fields are immutable.