nat.plugins.a365.front_end.exceptions#

Backward compatibility: Import exceptions from shared module.

Exceptions#

A365AuthenticationError

Authentication-related errors.

A365ConfigurationError

Configuration-related errors.

A365Error

Base exception for A365 plugin errors.

A365SDKError

Errors related to Microsoft Agents SDK components.

A365WorkflowExecutionError

Errors during workflow execution.

Module Contents#

exception A365AuthenticationError(
message: str,
original_error: Exception | None = None,
)#

Bases: A365Error

Authentication-related errors.

Used for authentication failures across A365 modules: - Front-end: Bot Framework authentication failures - Tooling: A365 Gateway and MCP server authentication failures - Telemetry: Token resolver authentication failures

Initialize self. See help(type(self)) for accurate signature.

original_error = None#
exception A365ConfigurationError(
message: str,
original_error: Exception | None = None,
)#

Bases: A365Error

Configuration-related errors.

Used for configuration validation failures across A365 modules: - Front-end: Invalid front-end configuration (missing fields, wrong types) - Tooling: Invalid tooling configuration (reconnect settings, auth config) - Telemetry: Invalid telemetry configuration (token resolver path)

Initialize self. See help(type(self)) for accurate signature.

original_error = None#
exception A365Error#

Bases: Exception

Base exception for A365 plugin errors.

Initialize self. See help(type(self)) for accurate signature.

exception A365SDKError(
message: str,
sdk_component: str | None = None,
original_error: Exception | None = None,
)#

Bases: A365Error

Errors related to Microsoft Agents SDK components.

Used for SDK-related errors across A365 modules: - Front-end: Microsoft Agents SDK (AgentApplication, CloudAdapter, etc.) - Telemetry: Agent365Exporter SDK errors - Tooling: McpToolServerConfigurationService SDK errors

Initialize self. See help(type(self)) for accurate signature.

sdk_component = None#
original_error = None#
exception A365WorkflowExecutionError(
message: str,
workflow_type: str = 'workflow',
original_error: Exception | None = None,
)#

Bases: A365Error

Errors during workflow execution.

Used when NAT workflows fail during execution in A365 handlers.

Initialize self. See help(type(self)) for accurate signature.

workflow_type = 'workflow'#
original_error = None#