RawResponse
public struct RawResponse : Codable, Sendable
Represents the raw response of an error.
-
The unique identifier of the error.
Declaration
Swift
public let id: String? -
The error code.
Declaration
Swift
public let code: String? -
A message describing the error.
Declaration
Swift
public let message: String? -
Additional error details.
Declaration
Swift
public let details: [ErrorDetail]? -
Initializes a
RawResponseobject from a dictionary.Throws
SerializationError.invalidFormatif required fields are missing or invalid.Declaration
Swift
public init(dictionary: [String : Any]) throwsParameters
dictionaryA dictionary containing the raw response data.
View on GitHub