> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/fabric/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/fabric/_mcp/server.

# Errors

> Structured exception hierarchy for config, capability, state, and runtime failures.

# <kbd>module</kbd> `nemo_fabric.errors`

Public exception hierarchy for the NeMo Fabric Python SDK.



---


## <kbd>class</kbd> `FabricError`

Base class for structured SDK-level NeMo Fabric errors.

Catch this type to handle any SDK failure while preserving machine-readable stage, code, retryability, and detail fields.



**Attributes:**

 - <b>`stage`</b>:  Lifecycle stage that failed, when known.
 - <b>`code`</b>:  Stable machine-readable error code, when available.
 - <b>`retryable`</b>:  Whether retrying may succeed without changing the request.
 - <b>`details`</b>:  Detached structured error details.



### Inheritance

Direct base: `RuntimeError`.

### <kbd>method</kbd> `__init__`

```python
def __init__(
    message: str,
    *,
    stage: str | None = None,
    code: str | None = None,
    retryable: bool = False,
    details: Mapping[str, Any] | None = None,
) -> None
```

Initialize a structured NeMo Fabric exception.



**Args:**

 - <b>`message`</b>:  Human-readable failure description.
 - <b>`stage`</b>:  Optional lifecycle stage that failed.
 - <b>`code`</b>:  Optional stable machine-readable error code.
 - <b>`retryable`</b>:  Whether callers may safely retry unchanged input.
 - <b>`details`</b>:  Optional structured diagnostic context. The exception  stores a deep copy.





---


## <kbd>class</kbd> `FabricConfigError`

Invalid SDK input, request shape, factory, or resolved config.



### Inheritance

Direct base: `FabricError`.

### <kbd>method</kbd> `__init__`

```python
def __init__(
    message: str,
    *,
    stage: str | None = None,
    code: str | None = None,
    retryable: bool = False,
    details: Mapping[str, Any] | None = None,
) -> None
```

Initialize a structured NeMo Fabric exception.



**Args:**

 - <b>`message`</b>:  Human-readable failure description.
 - <b>`stage`</b>:  Optional lifecycle stage that failed.
 - <b>`code`</b>:  Optional stable machine-readable error code.
 - <b>`retryable`</b>:  Whether callers may safely retry unchanged input.
 - <b>`details`</b>:  Optional structured diagnostic context. The exception  stores a deep copy.





---


## <kbd>class</kbd> `FabricRuntimeError`

Failure while starting, invoking, stopping, or otherwise driving a runtime.



### Inheritance

Direct base: `FabricError`.

### <kbd>method</kbd> `__init__`

```python
def __init__(
    message: str,
    *,
    stage: str | None = None,
    code: str | None = None,
    retryable: bool = False,
    details: Mapping[str, Any] | None = None,
) -> None
```

Initialize a structured NeMo Fabric exception.



**Args:**

 - <b>`message`</b>:  Human-readable failure description.
 - <b>`stage`</b>:  Optional lifecycle stage that failed.
 - <b>`code`</b>:  Optional stable machine-readable error code.
 - <b>`retryable`</b>:  Whether callers may safely retry unchanged input.
 - <b>`details`</b>:  Optional structured diagnostic context. The exception  stores a deep copy.





---


## <kbd>class</kbd> `FabricStateError`

Operation rejected because a local runtime is in the wrong state.



### Inheritance

Direct base: `FabricRuntimeError`.

### <kbd>method</kbd> `__init__`

```python
def __init__(
    message: str,
    *,
    stage: str | None = None,
    code: str | None = None,
    retryable: bool = False,
    details: Mapping[str, Any] | None = None,
) -> None
```

Initialize a structured NeMo Fabric exception.



**Args:**

 - <b>`message`</b>:  Human-readable failure description.
 - <b>`stage`</b>:  Optional lifecycle stage that failed.
 - <b>`code`</b>:  Optional stable machine-readable error code.
 - <b>`retryable`</b>:  Whether callers may safely retry unchanged input.
 - <b>`details`</b>:  Optional structured diagnostic context. The exception  stores a deep copy.





---


## <kbd>class</kbd> `FabricCapabilityError`

Operation rejected by resolved runtime capabilities or implementation status.



### Inheritance

Direct base: `FabricRuntimeError`.

### <kbd>method</kbd> `__init__`

```python
def __init__(
    message: str,
    *,
    stage: str | None = None,
    code: str | None = None,
    retryable: bool = False,
    details: Mapping[str, Any] | None = None,
) -> None
```

Initialize a structured NeMo Fabric exception.



**Args:**

 - <b>`message`</b>:  Human-readable failure description.
 - <b>`stage`</b>:  Optional lifecycle stage that failed.
 - <b>`code`</b>:  Optional stable machine-readable error code.
 - <b>`retryable`</b>:  Whether callers may safely retry unchanged input.
 - <b>`details`</b>:  Optional structured diagnostic context. The exception  stores a deep copy.





---


## <kbd>class</kbd> `FabricNativeUnavailableError`

SDK call requires the PyO3 extension, but it is not installed or importable.



### Inheritance

Direct base: `FabricRuntimeError`.

### <kbd>method</kbd> `__init__`

```python
def __init__(
    message: str,
    *,
    stage: str | None = None,
    code: str | None = None,
    retryable: bool = False,
    details: Mapping[str, Any] | None = None,
) -> None
```

Initialize a structured NeMo Fabric exception.



**Args:**

 - <b>`message`</b>:  Human-readable failure description.
 - <b>`stage`</b>:  Optional lifecycle stage that failed.
 - <b>`code`</b>:  Optional stable machine-readable error code.
 - <b>`retryable`</b>:  Whether callers may safely retry unchanged input.
 - <b>`details`</b>:  Optional structured diagnostic context. The exception  stores a deep copy.







---

_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._