Created
January 10, 2021 23:02
-
-
Save hadilq/e6b180aa365ff7b89525c9bdf000633f to your computer and use it in GitHub Desktop.
validate DSL
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
validate() elseIf { | |
InvalidEmailAddress { errorMessage: String -> | |
/* handle failure */ | |
} | |
EmptySubject { errorMessage: String -> /* handle failure */ } | |
EmptyBody { errorMessage: String -> /* handle failure */ } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah !, i love it. <3