ApiError
public enum ApiError : Error, @unchecked Sendable
Represents API errors that occur during response transformation.
-
An error containing an HTTP status code, a JSON object, and a descriptive message.
Declaration
Swift
case error(Int, [String : Any], String)Parameters
statusThe HTTP status code of the error.
jsonThe JSON data associated with the error.
messageA descriptive message explaining the error.
View on GitHub