Skip to content

Class: LMProviderError

Provider-side LM error.

URI: dspy:LMProviderError

 classDiagram
    class LMProviderError
    click LMProviderError href "../LMProviderError/"
      LMError <|-- LMProviderError
        click LMError href "../LMError/"


      LMProviderError <|-- LMAuthError
        click LMAuthError href "../LMAuthError/"
      LMProviderError <|-- LMBillingError
        click LMBillingError href "../LMBillingError/"
      LMProviderError <|-- LMRateLimitError
        click LMRateLimitError href "../LMRateLimitError/"
      LMProviderError <|-- LMInvalidRequestError
        click LMInvalidRequestError href "../LMInvalidRequestError/"
      LMProviderError <|-- LMTimeoutError
        click LMTimeoutError href "../LMTimeoutError/"
      LMProviderError <|-- LMServerError
        click LMServerError href "../LMServerError/"


      LMProviderError : code_value

      LMProviderError : description

      LMProviderError : http_status

      LMProviderError : id

      LMProviderError : message

      LMProviderError : name

      LMProviderError : retryable

Inheritance

Slots

Name Cardinality and Range Description Inheritance
http_status 0..1
Integer
direct
message 1
String
Human-readable error message DSPyError
code_value 0..1
String
Provider error code DSPyError
retryable 0..1
Boolean
DSPyError
id 1
Identifier
Stable opaque identifier for an instance NamedThing
name 0..1
String
Short human-readable name NamedThing
description 0..1
String
Free-form description NamedThing

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: LMProviderError
description: Provider-side LM error.
in_subset:
- errors
from_schema: https://w3id.org/lmodel/dspy
is_a: LMError
slots:
- http_status

Induced

name: LMProviderError
description: Provider-side LM error.
in_subset:
- errors
from_schema: https://w3id.org/lmodel/dspy
is_a: LMError
attributes:
  http_status:
    name: http_status
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: LMProviderError
    domain_of:
    - LMProviderError
    range: integer
    minimum_value: 100
    maximum_value: 599
  message:
    name: message
    description: Human-readable error message.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: LMProviderError
    domain_of:
    - DSPyError
    range: string
    required: true
  code_value:
    name: code_value
    description: Provider error code.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: LMProviderError
    domain_of:
    - DSPyError
    range: string
  retryable:
    name: retryable
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    ifabsent: boolean(False)
    owner: LMProviderError
    domain_of:
    - DSPyError
    range: boolean
  id:
    name: id
    description: Stable opaque identifier for an instance.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: LMProviderError
    domain_of:
    - NamedThing
    range: Identifier
    required: true
  name:
    name: name
    description: Short human-readable name.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: rdfs:label
    owner: LMProviderError
    domain_of:
    - NamedThing
    - LMToolCallPart
    - LMMessage
    - LMToolSpec
    range: string
  description:
    name: description
    description: Free-form description.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: dct:description
    owner: LMProviderError
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string