Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include <opc/common/addons_core/errors.h>
00012 #include <opc/common/modules.h>
00013
00014 #define ADDONS_MANAGER_ERROR(name, code, message) Common::ErrorData name(ERROR_CODE(Common::MODULE_ADDONS_MANAGER, code), message)
00015
00016 ADDONS_MANAGER_ERROR(UnableToRegisterAddonWhenStarted, 1, "Unable to register addon '%1%' with dependencies when addons manager started.");
00017 ADDONS_MANAGER_ERROR(AddonsManagerAlreadyStarted, 2, "Addons manager already started.");
00018 ADDONS_MANAGER_ERROR(AddonsManagerAlreadyStopped, 3, "Addons Manager already stopped.");
00019 ADDONS_MANAGER_ERROR(AddonNotFound, 4, "Addon with id '%1%' not found.");
00020 ADDONS_MANAGER_ERROR(AddonNotInitializedYet, 5, "Addon with id '%1%' is not initialized yet");
00021 ADDONS_MANAGER_ERROR(AddonNotRegistered, 6, "Addon with id '%1%' is not registered, but should.");
00022 ADDONS_MANAGER_ERROR(AddonRegisteredButShouldnt, 7, "Addon with id '%1%' registered, but shouldn't.");
00023 ADDONS_MANAGER_ERROR(AddonIsNotStarted, 8, "Addons with id '%1%' is not started.");
00024 ADDONS_MANAGER_ERROR(UnableToLoadDynamicLibrary, 9, "Unable to load library '%1%'. %2%");
00025 ADDONS_MANAGER_ERROR(UnableToFundSymbolInTheLibrary, 10, "Unable to find symbol '%1%' in the library '%2%'. %3%");
00026 ADDONS_MANAGER_ERROR(ApplicationAlreayStarted, 11, "Cannot start application. It is already started.");
00027 ADDONS_MANAGER_ERROR(ApplicationNotStarted, 12, "Application not started.");