Skip to content

Instantly share code, notes, and snippets.

@YoEight
Created April 8, 2014 13:08
Show Gist options
  • Save YoEight/10121458 to your computer and use it in GitHub Desktop.
Save YoEight/10121458 to your computer and use it in GitHub Desktop.
NotExist: Doesn't exist
NotPresent: Not submitted
NotNumber t@Text: "#{t}" is not a number
NotLetter t@Text: "#{t}" doesn't only contain letters
NotValidEmail t@Text: "#{t}" is not a valid email address
NotValidName t@Text: "#{t}" is not a valid name
ParsecError t@Text: Syntax error: #{t}
LengthGreater t@Text i@Int: "#{t}" is longer than #{show i} characters
LowerThan ii@Integer: is greater than #{show ii}
Invalid t@Text: #{show t} is invalid
Empty: is empty
Exist: already exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment