ErrorPayload
A parsed server response error.
public struct ErrorPayload: LocalizedError, Codable, CustomDebugStringConvertible, Equatable
Inheritance
Codable
, CustomDebugStringConvertible
, Equatable
, LocalizedError
Properties
code
An error code.
public let code: Int
message
A message.
public let message: String
statusCode
An HTTP status code.
public let statusCode: Int
errorDescription
public var errorDescription: String?
debugDescription
public var debugDescription: String