# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/06_errs.ipynb.

# %% auto 0
__all__ = ['SignIntError']

# %% ../nbs/06_errs.ipynb 3
from typing import Any

# %% ../nbs/06_errs.ipynb 4
from .sign import P, Z, N

# %% ../nbs/06_errs.ipynb 6
class SignIntError(ValueError):
    def __init__(self, val: Any):
        msg = f'Invalid sint: {val}. Must be one of {P.int, Z.int, N.int}, a string integer, or {P.syn | Z.syn | N.syn}.'
        super().__init__(msg)
