Detail
public struct Detail : Codable, Sendable
Represents a detailed error response.
-
The raw response associated with the error.
Declaration
Swift
public let rawResponse: RawResponse -
The HTTP status code of the error response.
Declaration
Swift
public let statusCode: Int -
Initializes a
Detailobject from a dictionary.Throws
SerializationError.invalidFormatif required fields are missing or invalid.Declaration
Swift
public init(dictionary: [String : Any]) throwsParameters
dictionaryA dictionary containing the error details.
View on GitHub