CLASS

ErrorHTTPURLResponseContent

Contents

swift
public class ErrorHTTPURLResponseContent: HTTPURLResponseContent

The error contents of a URL based HTTP response.

Properties

error

swift
public let error: any Error

An error object that indicates why the request failed, or nil if the request was successful.