Skip to content

Commit

Permalink
fix(MailError): Conform error to encodable for improved readability i…
Browse files Browse the repository at this point in the history
…n Sentry
  • Loading branch information
PhilippeWeidmann committed Apr 24, 2024
1 parent a66f542 commit c1122fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MailCore/API/MailError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AFErrorWithContext: MailError {
}
}

public class MailError: LocalizedError {
public class MailError: LocalizedError, Encodable {
public let code: String
public let errorDescription: String?
public let shouldDisplay: Bool
Expand Down

0 comments on commit c1122fb

Please sign in to comment.