Struct EditingApiStatus

Stable protocol diagnostic for one Editing API operation.

struct EditingApiStatus;

transportError is meaningful only when hasTransportError is true. serverError is meaningful when failure is EditingApiFailure.http. A completed 4xx/5xx response therefore remains distinct from a network/TLS failure.

Fields

NameTypeDescription
diagnosticBody immutable(ubyte)[]Bounded prefix of a non-success response body.
diagnosticBodyTruncated boolTrue when diagnosticBody is only a prefix of a larger response body.
failure EditingApiFailure
hasHttpStatus bool
hasTransportError bool
httpReason stringNon-secret HTTP reason phrase retained for a completed response.
httpStatus ushort
responseKind EditingApiResponseKind
serverError EditingApiServerError
transportError transport.exchange.HttpExchangeErrorKind

Properties

NameTypeDescription
ok[get] bool