snipsco / Postal

A Swift framework for working with emails
MIT License
652 stars 81 forks source link

Flattened PostalError #14

Closed klefevre closed 8 years ago

klefevre commented 8 years ago

imapError and imfError cases had too much complexity for PostalError. So I moved them as internal types and duplicate their cases in PostalError. For future, the protocol PostalErrorType will help us to maintain internal types and the conversion IMAPError/IMFError -> PostalError.