from pydantic import BaseModel from ..models.error_code import ErrorCode [docs]class ApiError(BaseModel): """An error.""" error_code: ErrorCode message: str