error_codes.hpp
Go to the documentation of this file.
1 #ifndef STAN_SERVICES_ERROR_CODES_HPP
2 #define STAN_SERVICES_ERROR_CODES_HPP
3 
4 namespace stan {
5  namespace services {
6 
7  struct error_codes {
8  // defining error codes to follow FreeBSD sysexits conventions
9  // http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits
10  enum {
11  OK = 0,
12  USAGE = 64,
13  DATAERR = 65,
14  NOINPUT = 66,
15  SOFTWARE = 70,
16  CONFIG = 78
17  };
18  };
19  }
20 }
21 #endif