FluidsMCPError#
- exception ansys.cfx.mcp.common.errors.FluidsMCPError(message: str, *, details: dict[str, Any] | None = None)#
Bases:
ExceptionBase class for typed errors raised by leaves and backends.
Overview#
Convert this domain error into the shared typed-error response model. |
Import detail#
from ansys.cfx.mcp.common.errors import FluidsMCPError
Attribute detail#
- FluidsMCPError.error_code = 'internal_error'#
- FluidsMCPError.message#
- FluidsMCPError.details#
Method detail#
- FluidsMCPError.to_typed() ansys.cfx.mcp.common.models.TypedError#
Convert this domain error into the shared typed-error response model.
- Returns:
TypedErrorValue computed by the helper for the requested CFX workflow.