Structure
RequestBodyTransportFailed
Thrown by the read that finds the request body’s transport has failed: the client hung up part-way through the body, sent fewer bytes than it declared, or sent something the HTTP parser rejected.
struct RequestBodyTransportFailed
Overview
None of those is something the application can act on: a connection dropping mid-upload is an everyday event, and any client can truncate a body on purpose. The transport’s own error is kept in underlying. Later reads of the same body throw RequestBodyReadFailed.
Topics
Initializers
Instance Properties
let underlying: any ErrorThe error the transport failed with.
Default Implementations
Relationships
Conforms To
AbortErrorSwift.CopyableSwift.ErrorSwift.EscapableSwift.SendableSwift.SendableMetatype