diff --git a/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/__init__.py b/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/__init__.py index e25666ba..90283f53 100644 --- a/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/__init__.py +++ b/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/__init__.py @@ -5,8 +5,7 @@ Error resources for Microsoft Agents Activity package. """ -from microsoft_agents.hosting.core.errors import ErrorMessage - +from .error_message import ErrorMessage from .error_resources import ActivityErrorResources # Singleton instance diff --git a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/error_message.py b/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/error_message.py similarity index 100% rename from libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/error_message.py rename to libraries/microsoft-agents-activity/microsoft_agents/activity/errors/error_message.py diff --git a/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/error_resources.py b/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/error_resources.py index d652496b..0b0b68e9 100644 --- a/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/error_resources.py +++ b/libraries/microsoft-agents-activity/microsoft_agents/activity/errors/error_resources.py @@ -7,7 +7,7 @@ Error codes are in the range -64000 to -64999. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from .error_message import ErrorMessage class ActivityErrorResources: diff --git a/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/__init__.py b/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/__init__.py index 2458a070..9ef9ffae 100644 --- a/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/__init__.py +++ b/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/__init__.py @@ -5,7 +5,7 @@ Error resources for Microsoft Agents Authentication MSAL package. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage from .error_resources import AuthenticationErrorResources diff --git a/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/error_resources.py b/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/error_resources.py index 0c97a34a..1afb4ac2 100644 --- a/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/error_resources.py +++ b/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/errors/error_resources.py @@ -7,7 +7,7 @@ Error codes are in the range -60000 to -60999. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage class AuthenticationErrorResources: diff --git a/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/__init__.py b/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/__init__.py index a19b7c1a..5e598b6c 100644 --- a/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/__init__.py +++ b/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/__init__.py @@ -5,7 +5,7 @@ Error resources for Microsoft Agents Copilot Studio Client package. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage from .error_resources import CopilotStudioErrorResources diff --git a/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/error_resources.py b/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/error_resources.py index 3c32eb42..8f60434f 100644 --- a/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/error_resources.py +++ b/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/errors/error_resources.py @@ -7,7 +7,7 @@ Error codes are in the range -65000 to -65999. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage class CopilotStudioErrorResources: diff --git a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/__init__.py b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/__init__.py index d072fbd3..bf6be203 100644 --- a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/__init__.py +++ b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/__init__.py @@ -8,7 +8,8 @@ following the pattern established in the C# SDK. """ -from .error_message import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage + from .error_resources import ErrorResources # Singleton instance diff --git a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/error_resources.py b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/error_resources.py index 02639300..4900cebe 100644 --- a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/error_resources.py +++ b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/errors/error_resources.py @@ -9,7 +9,7 @@ General/validation errors are in the range -66000 to -66999. """ -from .error_message import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage class ErrorResources: diff --git a/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/__init__.py b/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/__init__.py index fcf1c7bf..8d767abf 100644 --- a/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/__init__.py +++ b/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/__init__.py @@ -5,7 +5,7 @@ Error resources for Microsoft Agents Hosting Teams package. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage from .error_resources import TeamsErrorResources diff --git a/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/error_resources.py b/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/error_resources.py index 00895304..f324224f 100644 --- a/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/error_resources.py +++ b/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/errors/error_resources.py @@ -7,7 +7,7 @@ Error codes are in the range -62000 to -62999. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage class TeamsErrorResources: diff --git a/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/__init__.py b/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/__init__.py index 15361d3f..a245056d 100644 --- a/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/__init__.py +++ b/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/__init__.py @@ -5,7 +5,7 @@ Error resources for Microsoft Agents Storage Blob package. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage from .error_resources import BlobStorageErrorResources diff --git a/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/error_resources.py b/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/error_resources.py index fd0f8209..0e903dc0 100644 --- a/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/error_resources.py +++ b/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/errors/error_resources.py @@ -7,7 +7,7 @@ Error codes are in the range -61100 to -61199. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage class BlobStorageErrorResources: diff --git a/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/__init__.py b/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/__init__.py index 6bdc216e..b3c9036b 100644 --- a/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/__init__.py +++ b/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/__init__.py @@ -5,7 +5,7 @@ Error resources for Microsoft Agents Storage Cosmos package. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage from .error_resources import StorageErrorResources diff --git a/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/error_resources.py b/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/error_resources.py index 72c97d4a..ddec9e90 100644 --- a/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/error_resources.py +++ b/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/errors/error_resources.py @@ -7,7 +7,7 @@ Error codes are in the range -61000 to -61999. """ -from microsoft_agents.hosting.core.errors import ErrorMessage +from microsoft_agents.activity.errors import ErrorMessage class StorageErrorResources: