NetworkError

public enum NetworkError : Error
extension NetworkError: LocalizedError

An error that occurs while processing network request.

  • An error occurred due to a failure to connect to the server.

    This error only occurs when using connection-oriented feature..

    Declaration

    Swift

    case noSuitableResourceServer
  • An error occurred due to a failure to connect to the server.

    This error only occurs when using connection-oriented feature

    Declaration

    Swift

    case invalidParameter
  • An error occurred due to a failure to connect to the server.

    This error only occurs when using connection-oriented feature

    Declaration

    Swift

    case badRequest
  • Rejected due to authorization error.

    Declaration

    Swift

    case authError
  • An error occurred due to a failure to open InputSteram.

    Declaration

    Swift

    case streamInitializeFailed
  • No has response.

    Declaration

    Swift

    case nilResponse
  • The request timed out.

    Declaration

    Swift

    case timeout
  • An error occurred while processing received data.

    Declaration

    Swift

    case invalidMessageReceived
  • The error occurs on the server.

    Declaration

    Swift

    case serverError
  • The error occurs by unknown or complicated issue.

    Declaration

    Swift

    case unknown

LocalizedError

  • Declaration

    Swift

    public var errorDescription: String? { get }