File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public class ApolloClient {
3434 public enum ApolloClientError : Error , LocalizedError {
3535 case noUploadTransport
3636
37- public var localizedDescription : String {
37+ public var errorDescription : String ? {
3838 switch self {
3939 case . noUploadTransport:
4040 return " Attempting to upload using a transport which does not support uploads. This is a developer error. "
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ public class MultipartFormData {
66 enum FormDataError : Error , LocalizedError {
77 case encodingStringToDataFailed( _ string: String )
88
9- var localizedDescription : String {
9+ var errorDescription : String ? {
1010 switch self {
1111 case . encodingStringToDataFailed( let string) :
1212 return " Could not encode \" \( string) \" as .utf8 data. "
You can’t perform that action at this time.
0 commit comments