from _typeshed import Incomplete

class Error(Exception): ...

class ContextError(Error):
    def __init__(self) -> None: ...

class BadValueError(Error): ...
class BadArgumentError(Error): ...
class BadRequestError(Error): ...
class Rollback(Error): ...
class BadQueryError(Error): ...

class BadFilterError(Error):
    filter: Incomplete
    def __init__(self, filter) -> None: ...

class NoLongerImplementedError(NotImplementedError):
    def __init__(self) -> None: ...

class Cancelled(Error): ...
class NestedRetryException(Error): ...
