[Bugfix] Communications #7
17
Sources/Communications/Errors/MakeURLRequestError.swift
Normal file
17
Sources/Communications/Errors/MakeURLRequestError.swift
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// This source file is part of the SwiftLibs open source project
|
||||||
|
//
|
||||||
|
// Copyright (c) 2023 Röck+Cöde VoF. and the SwiftLibs project authors
|
||||||
|
// Licensed under the EUPL 1.2 or later.
|
||||||
|
//
|
||||||
|
// See LICENSE.txt for license information
|
||||||
|
// See CONTRIBUTORS.txt for the list of SwiftLibs project authors
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
/// Errors generated out of the `MakeURLRequestUseCase` use case.
|
||||||
|
public enum MakeURLRequestError: Error {
|
||||||
|
/// An expected URL was not created.
|
||||||
|
case urlNotCreated
|
||||||
|
}
|
@ -49,10 +49,3 @@ public struct MakeURLRequestUseCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Errors
|
|
||||||
|
|
||||||
enum MakeURLRequestError: Error {
|
|
||||||
case urlNotCreated
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user