<reponame>joernheissler/aioyhsm<filename>src/aioyhsm/error.py<gh_stars>0
from __future__ import annotations

from .constants import Error


class YubiHsmError(Exception):
    def __init__(self, code: Error) -> None:
        self.code = code

from __future__ import annotations

from .constants import Error


class YubiHsmError(Exception):
    def __init__(self, code: Error) -> None:
        self.code = code