Skip to content

ErrorResponse

Base classes

Name Children Inherits
_Message
aclientp.schema.v2.protocol

⋔ Inheritance diagram

graph TD
  95970871441824["protocol.ErrorResponse"]
  95970867845168["protocol._Message"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970867845168 --> 95970871441824
  95970855946400 --> 95970867845168
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: _Message

A failed JSON-RPC response.

Source code in src/aclientp/schema/v2/protocol.py
class ErrorResponse(_Message):
    """A failed JSON-RPC response."""

    id: RequestId | None
    """The ID of the request answered; ``None`` if it could not be determined."""

    error: Error
    """The error."""

error instance-attribute

error: Error

The error.

id instance-attribute

id: RequestId | None

The ID of the request answered; None if it could not be determined.

:fa-brands-github: Show source on GitHub