You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/KituraKit/RequestErrorExtension.swift
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,9 @@ extension RequestError {
53
53
54
54
/// An HTTP 608 invalid substitution error
55
55
publicstaticvarclientInvalidSubstitution=RequestError(clientErrorCode:608, clientErrorDescription:"An invalid substitution error occurred. Please ensure that the data being substituted is correct.")
56
+
57
+
/// An HTTP 609 encoding error
58
+
publicstaticvarclientDecodingError=RequestError(clientErrorCode:609, clientErrorDescription:"A decoding error occurred. Please ensure that the types and format of the data being received is correct.")
56
59
}
57
60
58
61
/// An extension to Kitura RequestErrors with additional error codes specifically for the client.
@@ -62,13 +65,23 @@ extension RequestError {
62
65
/// - Parameter restError: The custom error type for the client.
0 commit comments