]> gitweb.michael.orlitzky.com - spline3.git/blob - src/ExitCodes.hs
Define an export list in ExitCodes.
[spline3.git] / src / ExitCodes.hs
1 -- | All failure exit codes that the program can return.
2 --
3 module ExitCodes (
4 exit_arg_parse_failed,
5 exit_arg_not_positive,
6 exit_arg_out_of_bounds )
7 where
8
9 -- | Indicates that the command-line arguments could not be parsed.
10 exit_arg_parse_failed :: Int
11 exit_arg_parse_failed = 1
12
13 -- | One of the arguments that should be positive wasn't.
14 exit_arg_not_positive :: Int
15 exit_arg_not_positive = 2
16
17 -- | One of the arguments wasn't within the allowable bounds.
18 exit_arg_out_of_bounds :: Int
19 exit_arg_out_of_bounds = 3