Structure
HTTPErrorResponse
public struct HTTPErrorResponse: Codable
Response for expressing HTTPResponse in JSON body.
Often used when returning 404 Not found. Prepared to match the response of production API. I remember that it was not specified as a RealWorld specification.
Relationships
Conforms To
Codable
Initializers
init(_:error:)
public init(_ status: String, error: String)