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
status
The HTTP status code of the error.
json
The JSON data associated with the error.
message
A descriptive message explaining the error.