Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include <opc/common/errors.h>
00012 #include <opc/common/modules.h>
00013
00014 #define COMMON_ERROR(name, code, message) Common::ErrorData name(ERROR_CODE(Common::MODULE_COMMON, code), message)
00015
00016 COMMON_ERROR(InvalidValueType, 1, "Invalid value type '%1%'.");
00017 COMMON_ERROR(UnsupportedFeature, 2, "Unsupported.");
00018 COMMON_ERROR(NotImplemented, 3, "Not implemented.");
00019 COMMON_ERROR(StdException, 4, "Standard exception '%1%'.");
00020 COMMON_ERROR(CannotParseUri, 5, "Cannot parse uri '%1%'.");
00021 COMMON_ERROR(FailedToStartAddons, 6, "Cannot start addons.");
00022