]> gitweb.michael.orlitzky.com - email-validator.git/blob - src/ExitCodes.hs
15a1160e9b432eb02dfb2615414bdc86c2dbe0bf
[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 exit_args_parse_failed,
6 exit_input_file_doesnt_exist )
7 where
8
9 -- | Indicates that the command-line arguments could not be parsed.
10 exit_args_parse_failed :: Int
11 exit_args_parse_failed = 1
12
13 -- | Indicates that the input file given on the command-line does not
14 -- exist.
15 exit_input_file_doesnt_exist :: Int
16 exit_input_file_doesnt_exist = 2