Created
March 29, 2018 19:51
-
-
Save bill350/432463399515f7a5b24b8ff7265083a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Specify the error display context when hasData is true : use the error message, or use data oriented priority | |
| /// | |
| /// - dataOriented: For this type, the error message will show that data inconsistency is possible | |
| /// - errorOriented: The error message always use the Error type localized message if available, default message if needed | |
| enum ErrorContext { | |
| case dataOriented | |
| case errorOriented | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment