yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
liby2
src
include
y2
exitcodes.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| |
3
| __ __ ____ _____ ____ |
4
| \ \ / /_ _/ ___|_ _|___ \ |
5
| \ V / _` \___ \ | | __) | |
6
| | | (_| |___) || | / __/ |
7
| |_|\__,_|____/ |_| |_____| |
8
| |
9
| core system |
10
| (C) SuSE GmbH |
11
\----------------------------------------------------------------------/
12
13
File: exitcodes.h
14
15
Author: Stanislav Visnovsky <visnov@suse.cz>
16
Maintainer: Stanislav Visnovsky <visnov@suse.cz>
17
18
/-*/
19
// -*- c++ -*-
20
21
#ifndef exitcodes_h
22
#define exitcodes_h
23
24
enum
error_codes
{
25
YAST_OK
= 0,
// process finished without errors
26
YAST_FEWARGUMENTS
= 1,
// too few arguments for the commandline
27
YAST_OPTIONERROR
= 5,
// error in provided arguments
28
YAST_CLIENTRESULT
= 16
// client (YCP) returned special result, this is used as offset (or as generic error)
29
};
30
31
#endif // exitcodes_h
YAST_OK
Definition:
exitcodes.h:25
YAST_CLIENTRESULT
Definition:
exitcodes.h:28
YAST_FEWARGUMENTS
Definition:
exitcodes.h:26
error_codes
error_codes
Definition:
exitcodes.h:24
YAST_OPTIONERROR
Definition:
exitcodes.h:27
Generated on a sunny day for yast2-core by
1.8.11