ResponseSerializationFailureReason

public enum ResponseSerializationFailureReason
extension ResponseError.ResponseSerializationFailureReason: LocalizedError

The reason for response serialization error.

  • The server response contained no data or the data was zero length.

    Declaration

    Swift

    case inputDataNilOrZeroLength
  • A DataDecoder failed to decode the response due to the associated Error.

    Declaration

    Swift

    case decodingFailed(error: Error)
  • Declaration

    Swift

    public var errorDescription: String? { get }