]> gitweb.michael.orlitzky.com - dead/htsn.git/blob - src/ExitCodes.hs
Initial commit of something working.
[dead/htsn.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 fail
3 -- forever upon errors.
4 module ExitCodes (
5 exit_no_feed_hosts,
6 exit_no_password,
7 exit_no_username )
8 where
9
10 -- | No feed hosts were given on the command line or in the config file.
11 exit_no_feed_hosts :: Int
12 exit_no_feed_hosts = 1
13
14 -- | No password was given on the command line or in the config file.
15 exit_no_password :: Int
16 exit_no_password = 2
17
18 -- | No username was given on the command line or in the config file.
19 exit_no_username :: Int
20 exit_no_username = 3