RestError
public struct RestError : Swift.Error, JSONDecodable
extension RestError: Equatable
extension RestError: Codable
extension RestError: DictionaryConvertible
extension RestError: LocalizedError
Undocumented
-
Undocumented
Declaration
Swift
public let message: String
-
Undocumented
Declaration
Swift
public let componentSignature: String
-
Undocumented
Declaration
Swift
public let errCode: Int
-
Undocumented
Declaration
Swift
public init?(json: JSON)
-
Undocumented
Declaration
Swift
public init(code: RestErrorCode, message: String = "", componentSignature: String = "")
-
Return the rest error error code.
Declaration
Swift
public var code: RestErrorCode? { get }
-
Check if matching the rest error code.
Declaration
Swift
public func match(_ code: RestErrorCode) -> Bool
-
Declaration
Swift
public var dictionary: DictionaryConvertible.Dico { get }
-
Declaration
Swift
public var errorDescription: String? { get }