]> gitweb.michael.orlitzky.com - email-validator.git/blob - src/ExitCodes.hs
08acfdbb554003ed46aa5bcb06a71bb7a9776b44
[email-validator.git] / src / ExitCodes.hs
1 -- | All exit codes that the program can return (excepting
2 -- ExitSuccess). There's only one, since the program will try and
3 -- fail forever upon errors.
4 module ExitCodes
5 where
6
7 -- | Indicates that the command-line arguments could not be parsed.
8 exit_args_parse_failed :: Int
9 exit_args_parse_failed = 1
10
11 -- | Indicates that the input file given on the command-line does not
12 -- exist.
13 exit_input_file_doesnt_exist :: Int
14 exit_input_file_doesnt_exist = 2