Created
February 11, 2018 19:02
-
-
Save dcampogiani/24bc1899fe7c16888f18aa9736a3f249 to your computer and use it in GitHub Desktop.
This file contains 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
sealed class ValidationError { | |
object InvalidMail : ValidationError() | |
object InvalidPhoneNumber : ValidationError() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment