Source code for stellar_model.response.error_response

from typing import Any, Mapping, Optional

from pydantic import BaseModel

__all__ = ["ErrorResponse"]


[docs] class ErrorResponse(BaseModel): """ Represents error response. See `Error Response <https://developers.stellar.org/api/errors/response/>`_ on Stellar API Reference. """ type: str title: str status: int detail: Optional[str] = None extras: Optional[Mapping[str, Any]] = None