1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
// $Id: Errors.hh 2873 2007-12-09 16:44:29Z flaterco $
// Enums for errors.
/*
Copyright (C) 2006 David Flater.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace Error {
enum TideError {YEAR_OUT_OF_RANGE,
MKTIME_FAILED,
TIMESTAMP_OVERFLOW,
YEAR_NOT_IN_TABLE,
NO_HFILE_PATH,
NO_HFILE_IN_PATH,
IMPOSSIBLE_CONVERSION,
NO_CONVERSION,
UNRECOGNIZED_UNITS,
BOGUS_COORDINATES,
CANT_OPEN_FILE,
CORRUPT_HARMONICS_FILE,
BADCOLORSPEC,
XPM_ERROR,
NOHOMEDIR,
BADHHMM,
XMLPARSE,
STATION_NOT_FOUND,
CANTOPENDISPLAY,
NOT_A_NUMBER,
PNG_WRITE_FAILURE,
CANT_GET_SOCKET,
ABSURD_OFFSETS,
NUMBER_RANGE_ERROR,
BAD_MODE,
BAD_FORMAT,
BAD_TIMESTAMP,
BAD_IP_ADDRESS,
BAD_BOOL,
BAD_TEXT,
BAD_EVENTMASK,
BAD_OR_AMBIGUOUS_COMMAND_LINE,
CANT_LOAD_FONT,
NO_SYSLOG};
enum ErrType {fatal, nonfatal};
}
// Cleanup2006 CloseEnough
|