00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: exitcodes.h 00014 00015 Author: Stanislav Visnovsky <visnov@suse.cz> 00016 Maintainer: Stanislav Visnovsky <visnov@suse.cz> 00017 00018 /-*/ 00019 // -*- c++ -*- 00020 00021 #ifndef exitcodes_h 00022 #define exitcodes_h 00023 00024 enum error_codes { 00025 YAST_OK = 0, // process finished without errors 00026 YAST_FEWARGUMENTS = 1, // too few arguments for the commandline 00027 YAST_OPTIONERROR = 5, // error in provided arguments 00028 YAST_CLIENTRESULT = 16 // client (YCP) returned special result, this is used as offset (or as generic error) 00029 }; 00030 00031 #endif // exitcodes_h