Skip to content

Slot: message

Human-readable error message.

URI: dspy:message

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
Required Yes

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: message
description: Human-readable error message.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- DSPyError
range: string
required: true