UnsupportedBodyFormatError

public struct UnsupportedBodyFormatError : Error

An error that may be thrown when a particular instance of BodyFormat is not supported.

  • The format of the body.

    Declaration

    Swift

    public let bodyFormat: BodyFormat
  • Initialize UnsupportedBodyFormatError with the format of the body.

    Declaration

    Swift

    public init(_ bodyFormat: BodyFormat)