00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ModulePkgError_h
00022 #define ModulePkgError_h
00023
00024 #include <iosfwd>
00025
00026 #include <y2pm/PMError.h>
00027
00029
00030
00039 class ModulePkgError {
00040
00041 private:
00042
00043 friend class PMError;
00044
00045 static const std::string errclass;
00046
00047 static std::string errtext( const unsigned e );
00048
00049 protected:
00050
00051 typedef std::string (*errtextFnc)( const unsigned );
00052
00053 static errtextFnc errtextfnc;
00054 };
00055
00057
00058 #endif // ModulePkgError_h
00059