CustomError

public enum CustomError : Error

It represents custom errors in GTRest class.

  • The URL request object could not be created.

    Declaration

    Swift

    case failedToCreateRequest
  • The boundary string used in multipart/form-data content type could not be created.

    Declaration

    Swift

    case failedToCreateBoundary
  • HTTP body data could not be created.

    Declaration

    Swift

    case failedToCreateHttpBody