Skip to content

Slot: code_value

Provider error code.

URI: dspy:code_value

Applicable Classes

Name Description Modifies Slot
DSPyError Root of the public DSPy exception hierarchy (``dspy no
AdapterParseError Raised when an Adapter fails to parse an LM response (``dspy no
LMError Abstract base for LM-related errors (``dspy no
LMTransportError Transport-level LM error no
LMConfigurationError Misconfigured LM no
LMNotConfiguredError Raised when no LM is configured no
LMUnsupportedFeatureError Feature not supported by the underlying LM no
LMProviderError Provider-side LM error no
LMUnexpectedError Unexpected / unclassified LM error no
LMAuthError LM authentication error no
LMBillingError LM billing / quota error no
LMRateLimitError LM rate-limit error no
LMInvalidRequestError LM rejected the request no
ContextWindowExceededError Context window exceeded no
LMUnsupportedModelError Model is not supported no
LMTimeoutError Request timed out no
LMServerError Server-side LM error no

Properties

Type and Range

Property Value
Range String
Domain Of DSPyError

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:code_value
native dspy:code_value

LinkML Source

name: code_value
description: Provider error code.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- DSPyError
range: string