SwiftYNABError
public enum SwiftYNABError : Error
extension SwiftYNABError: Equatable
Errors that occur during encoding or decoding of JSON requests and responses
-
Failure decoding JSON
Declaration
Swift
case decodingFailure(message: String)
-
Failure encoding JSON
Declaration
Swift
case encodingFailure(message: String)
-
HTTP error
Declaration
Swift
case httpError(statusCode: Int)
-
YNAB API Error
Declaration
Swift
case apiError(detail: ErrorDetail)
-
Unknown error
Declaration
Swift
case unknown
-
Declaration
Swift
public static func == (lhs: SwiftYNABError, rhs: SwiftYNABError) -> Bool