ContentType

enum ContentType : Error, CustomStringConvertible

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

  • Thrown when there was an invalid Content-Type used.

    Declaration

    Swift

    case invalidContentType(String)
  • A description for the error.

    Declaration

    Swift

    public var description: String { get }