Update suitable examples and tests to use blank mode
[shapes.git] / source / exitcodes.h
blobacf7fb9f61bb49f12b39cd97a5f7cf834937f309
1 /* This file is part of Shapes.
3 * Shapes is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * any later version.
8 * Shapes is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with Shapes. If not, see <http://www.gnu.org/licenses/>.
16 * Copyright 2008, 2010 Henrik Tidefelt
19 #pragma once
21 namespace Shapes
23 namespace Interaction
25 enum ExitCode{
26 EXIT_OK = 0,
27 EXIT_GENERIC_ERROR = 1, EXIT_USER_ERROR = 2, EXIT_TEX_ERROR = 3, EXIT_EXTERNAL_ERROR = 4, EXIT_INVOCATION_ERROR = 5, EXIT_TOLERANCE_ERROR = 6,
28 EXIT_INTERNAL_ERROR = 10, EXIT_NOT_IMPLEMENTED = 11,
29 EXIT_FILE_ERROR = 20, EXIT_INPUT_FILE_ERROR = 21, EXIT_OUTPUT_FILE_ERROR = 22, EXIT_FILE_PERMISSION_ERROR = 23, EXIT_NO_DIRECTORY_ERROR = 24,
30 EXIT_USER_DETECTED_ERROR = 30,