ErrorInfo
public struct ErrorInfo : Codable, Equatable
Information about what might have caused a failure, such as an image that is too large. Not returned when there is no error.
-
HTTP status code.
Declaration
Swift
public var code: Int -
Human-readable error description. For example,
File size limit exceeded.Declaration
Swift
public var description: String -
Codified error string. For example,
limit_exceeded.Declaration
Swift
public var errorID: String
View on GitHub
ErrorInfo Structure Reference