from typing import Any, Literal
from uuid import UUID

from .common import NetlabError


class HDRError(NetlabError):
    str_error: str = "HDR_ERROR"
    status_code: Literal["PARTIAL", "FAILED", "UNKNOWN"]
    method: str
    ident: UUID
    response: dict[str, Any]
