Skip to content

Commit

Permalink
Merge pull request #884 from Infomaniak/fix-error-display
Browse files Browse the repository at this point in the history
fix: Use localizedDescription for MailError
  • Loading branch information
valentinperignon committed Jul 19, 2023
2 parents 05393c7 + 9796f42 commit d173104
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MailCore/API/MailError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public class MailError: LocalizedError {

/// After an update from the server we are still without a default signature
public static let defaultSignatureMissing = MailError(code: "defaultSignatureMissing")

public var localizedDescription: String {
return errorDescription
}
}

extension MailError: Identifiable {
Expand Down

0 comments on commit d173104

Please sign in to comment.