diff --git a/Hous-iOS-release/Global/Protocols/HouseErrorModel.swift b/Hous-iOS-release/Global/Protocols/HouseErrorModel.swift index f086bcec..a86dfc65 100644 --- a/Hous-iOS-release/Global/Protocols/HouseErrorModel.swift +++ b/Hous-iOS-release/Global/Protocols/HouseErrorModel.swift @@ -7,7 +7,7 @@ import Foundation -public struct HouseErrorModel { +public struct HouseErrorModel: Error { public init(success: Bool?, status: Int?, message: String?) { self.success = success self.status = status