Defined the EndpointError error in the Feed library.

This commit is contained in:
Javier Cicchelli 2024-03-17 16:09:13 +01:00
parent 93a52fd93e
commit f97025fdb8

View File

@ -0,0 +1,13 @@
//
// EndpointError.swift
// ReviewsFeedKit
//
// Created by Javier Cicchelli on 17/03/2024.
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
//
public enum EndpointError: Error {
case inputParametersEmpty
case requestFailed(statusCode: Int)
case responseNotFound
}