Source code for kittycad.models.api_error
from pydantic import BaseModel, ConfigDict
from ..models.error_code import ErrorCode
[docs]
class ApiError(BaseModel):
"""An error."""
error_code: ErrorCode
message: str
model_config = ConfigDict(protected_namespaces=())