| title | Errors |
|---|---|
| slug | /reference/api/python-library-reference/errors |
| description | Structured exception hierarchy for config, capability, state, and runtime failures. |
{/* SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: Apache-2.0 */}
Public exception hierarchy for the NeMo Fabric Python SDK.
Base class for structured SDK-level Fabric errors.
Catch this type to handle any SDK failure while preserving machine-readable stage, code, retryability, and detail fields.
Attributes:
stage: Lifecycle stage that failed, when known.code: Stable machine-readable error code, when available.retryable: Whether retrying may succeed without changing the request.details: Detached structured error details.
__init__(
message: 'str',
stage: 'str | None' = None,
code: 'str | None' = None,
retryable: 'bool' = False,
details: 'Mapping[str, Any] | None' = None
) → NoneInitialize a structured Fabric exception.
Args:
message: Human-readable failure description.stage: Optional lifecycle stage that failed.code: Optional stable machine-readable error code.retryable: Whether callers may safely retry unchanged input.details: Optional structured diagnostic context. The exception stores a deep copy.
Invalid SDK input, request shape, factory, or resolved config.
__init__(
message: 'str',
stage: 'str | None' = None,
code: 'str | None' = None,
retryable: 'bool' = False,
details: 'Mapping[str, Any] | None' = None
) → NoneInitialize a structured Fabric exception.
Args:
message: Human-readable failure description.stage: Optional lifecycle stage that failed.code: Optional stable machine-readable error code.retryable: Whether callers may safely retry unchanged input.details: Optional structured diagnostic context. The exception stores a deep copy.
Failure while starting, invoking, stopping, or otherwise driving a runtime.
__init__(
message: 'str',
stage: 'str | None' = None,
code: 'str | None' = None,
retryable: 'bool' = False,
details: 'Mapping[str, Any] | None' = None
) → NoneInitialize a structured Fabric exception.
Args:
message: Human-readable failure description.stage: Optional lifecycle stage that failed.code: Optional stable machine-readable error code.retryable: Whether callers may safely retry unchanged input.details: Optional structured diagnostic context. The exception stores a deep copy.
Operation rejected because a local runtime is in the wrong state.
__init__(
message: 'str',
stage: 'str | None' = None,
code: 'str | None' = None,
retryable: 'bool' = False,
details: 'Mapping[str, Any] | None' = None
) → NoneInitialize a structured Fabric exception.
Args:
message: Human-readable failure description.stage: Optional lifecycle stage that failed.code: Optional stable machine-readable error code.retryable: Whether callers may safely retry unchanged input.details: Optional structured diagnostic context. The exception stores a deep copy.
Operation rejected by resolved runtime capabilities or implementation status.
__init__(
message: 'str',
stage: 'str | None' = None,
code: 'str | None' = None,
retryable: 'bool' = False,
details: 'Mapping[str, Any] | None' = None
) → NoneInitialize a structured Fabric exception.
Args:
message: Human-readable failure description.stage: Optional lifecycle stage that failed.code: Optional stable machine-readable error code.retryable: Whether callers may safely retry unchanged input.details: Optional structured diagnostic context. The exception stores a deep copy.
SDK call requires the PyO3 extension, but it is not installed or importable.
__init__(
message: 'str',
stage: 'str | None' = None,
code: 'str | None' = None,
retryable: 'bool' = False,
details: 'Mapping[str, Any] | None' = None
) → NoneInitialize a structured Fabric exception.
Args:
message: Human-readable failure description.stage: Optional lifecycle stage that failed.code: Optional stable machine-readable error code.retryable: Whether callers may safely retry unchanged input.details: Optional structured diagnostic context. The exception stores a deep copy.
This file was automatically generated via lazydocs.