Structure
Response.Body.NegativeCountError
Thrown when a streaming body is created with a negative length.
struct NegativeCountError
Overview
Conforms to AbortError, so a handler that lets it propagate fails that one request with a 500 and a diagnosable reason rather than bringing the process down.
Topics
Initializers
Instance Properties
let count: IntThe negative length that was given.var description: Stringvar reason: Stringvar status: HTTPResponse.Status
Relationships
Conforms To
AbortErrorSwift.CustomStringConvertibleSwift.EquatableSwift.ErrorSwift.SendableSwift.SendableMetatype