# This file was auto-generated by Fern from our API Definition.

from ..core.api_error import ApiError
from ..types.unauthorized_error_body import UnauthorizedErrorBody


class UnauthorizedError(ApiError):
    def __init__(self, body: UnauthorizedErrorBody):
        super().__init__(status_code=401, body=body)
