Variant

trailer-error

Trailers aren't available until the body has been completely transmitted, so this error type can either indicate that the errors aren't available yet, or that an error occurred.

variant trailer-error {
  not-available-yet,
  error(error),
}

Cases

CasePayloadDescription
not-available-yet—

The trailers aren't available yet.

errorerror

An error occurred.