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
| Name | Type | Description |
|---|---|---|
diagnosticBody
|
immutable(ubyte)[] | Bounded prefix of a non-success response body. |
diagnosticBodyTruncated
|
bool | True when diagnosticBody is only a prefix of a larger response body. |
failure
|
EditingApiFailure | |
hasHttpStatus
|
bool | |
hasTransportError
|
bool | |
httpReason
|
string | Non-secret HTTP reason phrase retained for a completed response. |
httpStatus
|
ushort | |
responseKind
|
EditingApiResponseKind | |
serverError
|
EditingApiServerError | |
transportError
|
transport |
Properties
| Name | Type | Description |
|---|---|---|
ok[get]
|
bool |