Defined the EndpointError error in the Feed library.
This commit is contained in:
parent
93a52fd93e
commit
f97025fdb8
13
Libraries/Feed/Kit/Sources/Errors/EndpointError.swift
Normal file
13
Libraries/Feed/Kit/Sources/Errors/EndpointError.swift
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user