Skip to content

Instantly share code, notes, and snippets.

@vialyx
Last active August 11, 2018 17:58
Show Gist options
  • Save vialyx/aee18ec9fea7fb200910fe1fc55d1b67 to your computer and use it in GitHub Desktop.
Save vialyx/aee18ec9fea7fb200910fe1fc55d1b67 to your computer and use it in GitHub Desktop.
enum EmailValidationError {
// TODO: - Cases
case empty
// TODO: - Cases can be declared on a single line
case noDomain, invalid
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment