Request

enum Request : Error, CustomStringConvertible

The Exception.Request enum contains all the errors thrown by Request.

  • Thrown when there a request was made to encode the parameters to an unsupported content type.

    Declaration

    Swift

    case unsupportedContentType(String)
  • Thrown if there was a problem constructing the URL for the request call.

    Declaration

    Swift

    case couldNotConstructUrlRequest
  • A description for the error.

    Declaration

    Swift

    public var description: String { get }