Skip to content

Instantly share code, notes, and snippets.

@vialyx
Created August 11, 2018 18:26
Show Gist options
  • Save vialyx/54c52e0aa9d3768752af5f155eff9565 to your computer and use it in GitHub Desktop.
Save vialyx/54c52e0aa9d3768752af5f155eff9565 to your computer and use it in GitHub Desktop.
// TODO: - Create a new error
var error = EmailValidationError.empty
// TODO: - OR type-inferred
var signupError: EmailValidationError = .invalid
error = .noDomain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment