# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.3.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or globals().get("__package__") or "." in __name__:
    from . import _exception
else:
    import _exception

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


class NonLibdnf5Exception(Exception):
    r"""Class for wrapping exceptions not defined in libdnf5. For example, std::* exceptions."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def format(self, detail):
        return _exception.NonLibdnf5Exception_format(self, detail)

    def rethrow_if_nested(self):
        return _exception.NonLibdnf5Exception_rethrow_if_nested(self)

    def what(self):
        return _exception.NonLibdnf5Exception_what(self)

    def __str__(self):
        return _exception.NonLibdnf5Exception___str__(self)
    __swig_destroy__ = _exception.delete_NonLibdnf5Exception

# Register NonLibdnf5Exception in _exception:
_exception.NonLibdnf5Exception_swigregister(NonLibdnf5Exception)
class AssertionError(Exception):
    r"""
    An AssertionError is a fault in the program logic, it is thrown when an
    incorrect sequence of actions has led to an invalid state in which it is
    impossible to continue running the program.
    """

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def what(self):
        return _exception.AssertionError_what(self)

    def assertion(self):
        return _exception.AssertionError_assertion(self)

    def file_name(self):
        return _exception.AssertionError_file_name(self)

    def source_line(self):
        return _exception.AssertionError_source_line(self)

    def function_name(self):
        return _exception.AssertionError_function_name(self)

    def message(self):
        return _exception.AssertionError_message(self)

    def format(self, detail):
        return _exception.AssertionError_format(self, detail)

    def rethrow_if_nested(self):
        return _exception.AssertionError_rethrow_if_nested(self)

    def __str__(self):
        return _exception.AssertionError___str__(self)
    __swig_destroy__ = _exception.delete_AssertionError

# Register AssertionError in _exception:
_exception.AssertionError_swigregister(AssertionError)
class UserAssertionError(Exception):
    r"""
    A UserAssertionError is an error which is thrown when the
    libdnf public API is used in an unexpected way and continuing
    would led to an invalid state.
    For the bindings users, this exception is intended to be translated
    into a standard runtime exception which could be handled,
    whereas with the previous `AssertionError` exception the process
    is terminated and the system state is captured for debugging purposes.
    """

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def what(self):
        return _exception.UserAssertionError_what(self)

    def assertion(self):
        return _exception.UserAssertionError_assertion(self)

    def file_name(self):
        return _exception.UserAssertionError_file_name(self)

    def source_line(self):
        return _exception.UserAssertionError_source_line(self)

    def function_name(self):
        return _exception.UserAssertionError_function_name(self)

    def message(self):
        return _exception.UserAssertionError_message(self)

    def format(self, detail):
        return _exception.UserAssertionError_format(self, detail)

    def rethrow_if_nested(self):
        return _exception.UserAssertionError_rethrow_if_nested(self)

    def __str__(self):
        return _exception.UserAssertionError___str__(self)
    __swig_destroy__ = _exception.delete_UserAssertionError

# Register UserAssertionError in _exception:
_exception.UserAssertionError_swigregister(UserAssertionError)
class Error(Exception):
    r"""
    Base class for libdnf exceptions. Virtual methods `get_name()` and
    `get_domain_name()` should always return the exception's class name and its
    namespace (including enclosing class names in case the exception is nested in
    other classes) respectively.
    """

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def what(self):
        return _exception.Error_what(self)

    def get_name(self):
        r"""
        :rtype: string
        :return: The exception class name.
        """
        return _exception.Error_get_name(self)

    def get_domain_name(self):
        r"""
        :rtype: string
        :return: The domain name (namespace and enclosing class names) of the exception.
        """
        return _exception.Error_get_domain_name(self)

    def format(self, detail):
        return _exception.Error_format(self, detail)

    def rethrow_if_nested(self):
        return _exception.Error_rethrow_if_nested(self)

    def __str__(self):
        return _exception.Error___str__(self)
    __swig_destroy__ = _exception.delete_Error

# Register Error in _exception:
_exception.Error_swigregister(Error)
class SystemError(Error):
    r"""An exception class for system errors represented by the `errno` error code."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def what(self):
        return _exception.SystemError_what(self)

    def get_domain_name(self):
        return _exception.SystemError_get_domain_name(self)

    def get_name(self):
        return _exception.SystemError_get_name(self)

    def get_error_code(self):
        r"""
        :rtype: int
        :return: The error code (`errno`) of the error.
        """
        return _exception.SystemError_get_error_code(self)

    def get_error_message(self):
        r"""
        :rtype: string
        :return: The system error message associated with the error code.
        """
        return _exception.SystemError_get_error_message(self)
    __swig_destroy__ = _exception.delete_SystemError

# Register SystemError in _exception:
_exception.SystemError_swigregister(SystemError)
class FileSystemError(Error):
    r"""An exception class for file system errors represented by the `errno` error code and a path."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def what(self):
        return _exception.FileSystemError_what(self)

    def get_domain_name(self):
        return _exception.FileSystemError_get_domain_name(self)

    def get_name(self):
        return _exception.FileSystemError_get_name(self)

    def get_error_code(self):
        r"""
        :rtype: int
        :return: The error code (`errno`) of the error.
        """
        return _exception.FileSystemError_get_error_code(self)
    __swig_destroy__ = _exception.delete_FileSystemError

# Register FileSystemError in _exception:
_exception.FileSystemError_swigregister(FileSystemError)
class RuntimeError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.RuntimeError_get_name(self)

    def get_description(self):
        return _exception.RuntimeError_get_description(self)
    __swig_destroy__ = _exception.delete_RuntimeError

# Register RuntimeError in _exception:
_exception.RuntimeError_swigregister(RuntimeError)
FormatDetailLevel_Plain = _exception.FormatDetailLevel_Plain
r'''"what()\n"'''
FormatDetailLevel_WithName = _exception.FormatDetailLevel_WithName
r'''"get_name(): what()\n"'''
FormatDetailLevel_WithDomainAndName = _exception.FormatDetailLevel_WithDomainAndName
r'''"get_domain_name()::get_name(): what()\n"'''
class BaseTransactionError(Error):
    r"""Error related to processing transaction"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        r"""
        :rtype: string
        :return: Error class' domain name"
        """
        return _exception.BaseTransactionError_get_domain_name(self)

    def get_name(self):
        r"""
        :rtype: string
        :return: Error class' name"
        """
        return _exception.BaseTransactionError_get_name(self)
    __swig_destroy__ = _exception.delete_BaseTransactionError

# Register BaseTransactionError in _exception:
_exception.BaseTransactionError_swigregister(BaseTransactionError)
class CompsInvalidPackageType(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.CompsInvalidPackageType_get_domain_name(self)

    def get_name(self):
        return _exception.CompsInvalidPackageType_get_name(self)
    __swig_destroy__ = _exception.delete_CompsInvalidPackageType

# Register CompsInvalidPackageType in _exception:
_exception.CompsInvalidPackageType_swigregister(CompsInvalidPackageType)
class InaccessibleConfigError(Error):
    r"""Error accessing config file other than ENOENT; e.g. we don't have read permission"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.InaccessibleConfigError_get_domain_name(self)

    def get_name(self):
        return _exception.InaccessibleConfigError_get_name(self)
    __swig_destroy__ = _exception.delete_InaccessibleConfigError

# Register InaccessibleConfigError in _exception:
_exception.InaccessibleConfigError_swigregister(InaccessibleConfigError)
class MissingConfigError(Error):
    r"""Configuration file is missing"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.MissingConfigError_get_domain_name(self)

    def get_name(self):
        return _exception.MissingConfigError_get_name(self)
    __swig_destroy__ = _exception.delete_MissingConfigError

# Register MissingConfigError in _exception:
_exception.MissingConfigError_swigregister(MissingConfigError)
class InvalidConfigError(Error):
    r"""Configuration file is invalid"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.InvalidConfigError_get_domain_name(self)

    def get_name(self):
        return _exception.InvalidConfigError_get_name(self)
    __swig_destroy__ = _exception.delete_InvalidConfigError

# Register InvalidConfigError in _exception:
_exception.InvalidConfigError_swigregister(InvalidConfigError)
class ConfigParserError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.ConfigParserError_get_domain_name(self)

    def get_name(self):
        return _exception.ConfigParserError_get_name(self)
    __swig_destroy__ = _exception.delete_ConfigParserError

# Register ConfigParserError in _exception:
_exception.ConfigParserError_swigregister(ConfigParserError)
class ConfigParserSectionNotFoundError(ConfigParserError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.ConfigParserSectionNotFoundError_get_name(self)
    __swig_destroy__ = _exception.delete_ConfigParserSectionNotFoundError

# Register ConfigParserSectionNotFoundError in _exception:
_exception.ConfigParserSectionNotFoundError_swigregister(ConfigParserSectionNotFoundError)
class ConfigParserOptionNotFoundError(ConfigParserError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.ConfigParserOptionNotFoundError_get_name(self)
    __swig_destroy__ = _exception.delete_ConfigParserOptionNotFoundError

# Register ConfigParserOptionNotFoundError in _exception:
_exception.ConfigParserOptionNotFoundError_swigregister(ConfigParserOptionNotFoundError)
class OptionError(Error):
    r"""Option exception"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.OptionError_get_domain_name(self)

    def get_name(self):
        return _exception.OptionError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionError

# Register OptionError in _exception:
_exception.OptionError_swigregister(OptionError)
class OptionInvalidValueError(OptionError):
    r"""Exception that is generated when an invalid input value is detected."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.OptionInvalidValueError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionInvalidValueError

# Register OptionInvalidValueError in _exception:
_exception.OptionInvalidValueError_swigregister(OptionInvalidValueError)
class OptionValueNotAllowedError(OptionInvalidValueError):
    r"""Exception that is generated when not allowed input value is detected."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.OptionValueNotAllowedError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionValueNotAllowedError

# Register OptionValueNotAllowedError in _exception:
_exception.OptionValueNotAllowedError_swigregister(OptionValueNotAllowedError)
class OptionValueNotSetError(OptionError):
    r"""Exception that is generated during read an empty Option."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.OptionValueNotSetError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionValueNotSetError

# Register OptionValueNotSetError in _exception:
_exception.OptionValueNotSetError_swigregister(OptionValueNotSetError)
class OptionPathNotFoundError(OptionValueNotAllowedError):
    r"""Exception that is generated when input path does not exist."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.OptionPathNotFoundError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionPathNotFoundError

# Register OptionPathNotFoundError in _exception:
_exception.OptionPathNotFoundError_swigregister(OptionPathNotFoundError)
class OptionBindsError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionBindsError

# Register OptionBindsError in _exception:
_exception.OptionBindsError_swigregister(OptionBindsError)
class OptionBindsOptionNotFoundError(OptionBindsError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.OptionBindsOptionNotFoundError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionBindsOptionNotFoundError

# Register OptionBindsOptionNotFoundError in _exception:
_exception.OptionBindsOptionNotFoundError_swigregister(OptionBindsOptionNotFoundError)
class OptionBindsOptionAlreadyExistsError(OptionBindsError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.OptionBindsOptionAlreadyExistsError_get_name(self)
    __swig_destroy__ = _exception.delete_OptionBindsOptionAlreadyExistsError

# Register OptionBindsOptionAlreadyExistsError in _exception:
_exception.OptionBindsOptionAlreadyExistsError_swigregister(OptionBindsOptionAlreadyExistsError)
class ReadOnlyVariableError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_ReadOnlyVariableError

# Register ReadOnlyVariableError in _exception:
_exception.ReadOnlyVariableError_swigregister(ReadOnlyVariableError)
class RepoFileDownloadError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoFileDownloadError

# Register RepoFileDownloadError in _exception:
_exception.RepoFileDownloadError_swigregister(RepoFileDownloadError)
class RepoPackageDownloadError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoPackageDownloadError

# Register RepoPackageDownloadError in _exception:
_exception.RepoPackageDownloadError_swigregister(RepoPackageDownloadError)
class RepoCacheError(Error):
    r"""RepoCache exception"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.RepoCacheError_get_domain_name(self)

    def get_name(self):
        return _exception.RepoCacheError_get_name(self)
    __swig_destroy__ = _exception.delete_RepoCacheError

# Register RepoCacheError in _exception:
_exception.RepoCacheError_swigregister(RepoCacheError)
class RepoError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoError

# Register RepoError in _exception:
_exception.RepoError_swigregister(RepoError)
class RepoCacheonlyError(RepoError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.RepoCacheonlyError_get_name(self)
    __swig_destroy__ = _exception.delete_RepoCacheonlyError

# Register RepoCacheonlyError in _exception:
_exception.RepoCacheonlyError_swigregister(RepoCacheonlyError)
class RepoDownloadError(RepoError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.RepoDownloadError_get_name(self)
    __swig_destroy__ = _exception.delete_RepoDownloadError

# Register RepoDownloadError in _exception:
_exception.RepoDownloadError_swigregister(RepoDownloadError)
class RepoPgpError(RepoError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_name(self):
        return _exception.RepoPgpError_get_name(self)
    __swig_destroy__ = _exception.delete_RepoPgpError

# Register RepoPgpError in _exception:
_exception.RepoPgpError_swigregister(RepoPgpError)
class RepoRpmError(RepoError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoRpmError

# Register RepoRpmError in _exception:
_exception.RepoRpmError_swigregister(RepoRpmError)
class RepoCompsError(RepoError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoCompsError

# Register RepoCompsError in _exception:
_exception.RepoCompsError_swigregister(RepoCompsError)
class RepoIdAlreadyExistsError(RepoError):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoIdAlreadyExistsError

# Register RepoIdAlreadyExistsError in _exception:
_exception.RepoIdAlreadyExistsError_swigregister(RepoIdAlreadyExistsError)
class RpmNevraIncorrectInputError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RpmNevraIncorrectInputError

# Register RpmNevraIncorrectInputError in _exception:
_exception.RpmNevraIncorrectInputError_swigregister(RpmNevraIncorrectInputError)
class RpmSignatureCheckError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.RpmSignatureCheckError_get_domain_name(self)

    def get_name(self):
        return _exception.RpmSignatureCheckError_get_name(self)
    __swig_destroy__ = _exception.delete_RpmSignatureCheckError

# Register RpmSignatureCheckError in _exception:
_exception.RpmSignatureCheckError_swigregister(RpmSignatureCheckError)
class RpmKeyImportError(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.RpmKeyImportError_get_domain_name(self)

    def get_name(self):
        return _exception.RpmKeyImportError_get_name(self)
    __swig_destroy__ = _exception.delete_RpmKeyImportError

# Register RpmKeyImportError in _exception:
_exception.RpmKeyImportError_swigregister(RpmKeyImportError)
class TransactionInvalidTransactionState(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.TransactionInvalidTransactionState_get_domain_name(self)

    def get_name(self):
        return _exception.TransactionInvalidTransactionState_get_name(self)
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionState

# Register TransactionInvalidTransactionState in _exception:
_exception.TransactionInvalidTransactionState_swigregister(TransactionInvalidTransactionState)
class TransactionInvalidTransactionItemAction(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.TransactionInvalidTransactionItemAction_get_domain_name(self)

    def get_name(self):
        return _exception.TransactionInvalidTransactionItemAction_get_name(self)
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemAction

# Register TransactionInvalidTransactionItemAction in _exception:
_exception.TransactionInvalidTransactionItemAction_swigregister(TransactionInvalidTransactionItemAction)
class TransactionInvalidTransactionItemReason(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.TransactionInvalidTransactionItemReason_get_domain_name(self)

    def get_name(self):
        return _exception.TransactionInvalidTransactionItemReason_get_name(self)
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemReason

# Register TransactionInvalidTransactionItemReason in _exception:
_exception.TransactionInvalidTransactionItemReason_swigregister(TransactionInvalidTransactionItemReason)
class TransactionInvalidTransactionItemState(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.TransactionInvalidTransactionItemState_get_domain_name(self)

    def get_name(self):
        return _exception.TransactionInvalidTransactionItemState_get_name(self)
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemState

# Register TransactionInvalidTransactionItemState in _exception:
_exception.TransactionInvalidTransactionItemState_swigregister(TransactionInvalidTransactionItemState)
class TransactionInvalidTransactionItemType(Error):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def get_domain_name(self):
        return _exception.TransactionInvalidTransactionItemType_get_domain_name(self)

    def get_name(self):
        return _exception.TransactionInvalidTransactionItemType_get_name(self)
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemType

# Register TransactionInvalidTransactionItemType in _exception:
_exception.TransactionInvalidTransactionItemType_swigregister(TransactionInvalidTransactionItemType)
class AssertionErrorNested(AssertionError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_AssertionErrorNested

# Register AssertionErrorNested in _exception:
_exception.AssertionErrorNested_swigregister(AssertionErrorNested)
class UserAssertionErrorNested(UserAssertionError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_UserAssertionErrorNested

# Register UserAssertionErrorNested in _exception:
_exception.UserAssertionErrorNested_swigregister(UserAssertionErrorNested)
class ErrorNested(Error):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_ErrorNested

# Register ErrorNested in _exception:
_exception.ErrorNested_swigregister(ErrorNested)
class SystemErrorNested(SystemError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_SystemErrorNested

# Register SystemErrorNested in _exception:
_exception.SystemErrorNested_swigregister(SystemErrorNested)
class FileSystemErrorNested(FileSystemError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_FileSystemErrorNested

# Register FileSystemErrorNested in _exception:
_exception.FileSystemErrorNested_swigregister(FileSystemErrorNested)
class RuntimeErrorNested(RuntimeError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RuntimeErrorNested

# Register RuntimeErrorNested in _exception:
_exception.RuntimeErrorNested_swigregister(RuntimeErrorNested)
class BaseTransactionErrorNested(BaseTransactionError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_BaseTransactionErrorNested

# Register BaseTransactionErrorNested in _exception:
_exception.BaseTransactionErrorNested_swigregister(BaseTransactionErrorNested)
class CompsInvalidPackageTypeNested(CompsInvalidPackageType):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_CompsInvalidPackageTypeNested

# Register CompsInvalidPackageTypeNested in _exception:
_exception.CompsInvalidPackageTypeNested_swigregister(CompsInvalidPackageTypeNested)
class RepoFileDownloadErrorNested(RepoFileDownloadError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoFileDownloadErrorNested

# Register RepoFileDownloadErrorNested in _exception:
_exception.RepoFileDownloadErrorNested_swigregister(RepoFileDownloadErrorNested)
class RepoPackageDownloadErrorNested(RepoPackageDownloadError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoPackageDownloadErrorNested

# Register RepoPackageDownloadErrorNested in _exception:
_exception.RepoPackageDownloadErrorNested_swigregister(RepoPackageDownloadErrorNested)
class RepoCacheErrorNested(RepoCacheError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoCacheErrorNested

# Register RepoCacheErrorNested in _exception:
_exception.RepoCacheErrorNested_swigregister(RepoCacheErrorNested)
class RepoCacheonlyErrorNested(RepoCacheonlyError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoCacheonlyErrorNested

# Register RepoCacheonlyErrorNested in _exception:
_exception.RepoCacheonlyErrorNested_swigregister(RepoCacheonlyErrorNested)
class RepoDownloadErrorNested(RepoDownloadError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoDownloadErrorNested

# Register RepoDownloadErrorNested in _exception:
_exception.RepoDownloadErrorNested_swigregister(RepoDownloadErrorNested)
class RepoPgpErrorNested(RepoPgpError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoPgpErrorNested

# Register RepoPgpErrorNested in _exception:
_exception.RepoPgpErrorNested_swigregister(RepoPgpErrorNested)
class RepoRpmErrorNested(RepoRpmError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoRpmErrorNested

# Register RepoRpmErrorNested in _exception:
_exception.RepoRpmErrorNested_swigregister(RepoRpmErrorNested)
class RepoCompsErrorNested(RepoCompsError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoCompsErrorNested

# Register RepoCompsErrorNested in _exception:
_exception.RepoCompsErrorNested_swigregister(RepoCompsErrorNested)
class RepoIdAlreadyExistsErrorNested(RepoIdAlreadyExistsError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoIdAlreadyExistsErrorNested

# Register RepoIdAlreadyExistsErrorNested in _exception:
_exception.RepoIdAlreadyExistsErrorNested_swigregister(RepoIdAlreadyExistsErrorNested)
class RepoErrorNested(RepoError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RepoErrorNested

# Register RepoErrorNested in _exception:
_exception.RepoErrorNested_swigregister(RepoErrorNested)
class RpmNevraIncorrectInputErrorNested(RpmNevraIncorrectInputError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RpmNevraIncorrectInputErrorNested

# Register RpmNevraIncorrectInputErrorNested in _exception:
_exception.RpmNevraIncorrectInputErrorNested_swigregister(RpmNevraIncorrectInputErrorNested)
class RpmSignatureCheckErrorNested(RpmSignatureCheckError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RpmSignatureCheckErrorNested

# Register RpmSignatureCheckErrorNested in _exception:
_exception.RpmSignatureCheckErrorNested_swigregister(RpmSignatureCheckErrorNested)
class RpmKeyImportErrorNested(RpmKeyImportError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_RpmKeyImportErrorNested

# Register RpmKeyImportErrorNested in _exception:
_exception.RpmKeyImportErrorNested_swigregister(RpmKeyImportErrorNested)
class TransactionInvalidTransactionItemActionNested(TransactionInvalidTransactionItemAction):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemActionNested

# Register TransactionInvalidTransactionItemActionNested in _exception:
_exception.TransactionInvalidTransactionItemActionNested_swigregister(TransactionInvalidTransactionItemActionNested)
class TransactionInvalidTransactionItemReasonNested(TransactionInvalidTransactionItemReason):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemReasonNested

# Register TransactionInvalidTransactionItemReasonNested in _exception:
_exception.TransactionInvalidTransactionItemReasonNested_swigregister(TransactionInvalidTransactionItemReasonNested)
class TransactionInvalidTransactionItemStateNested(TransactionInvalidTransactionItemState):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemStateNested

# Register TransactionInvalidTransactionItemStateNested in _exception:
_exception.TransactionInvalidTransactionItemStateNested_swigregister(TransactionInvalidTransactionItemStateNested)
class TransactionInvalidTransactionItemTypeNested(TransactionInvalidTransactionItemType):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionItemTypeNested

# Register TransactionInvalidTransactionItemTypeNested in _exception:
_exception.TransactionInvalidTransactionItemTypeNested_swigregister(TransactionInvalidTransactionItemTypeNested)
class TransactionInvalidTransactionStateNested(TransactionInvalidTransactionState):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_TransactionInvalidTransactionStateNested

# Register TransactionInvalidTransactionStateNested in _exception:
_exception.TransactionInvalidTransactionStateNested_swigregister(TransactionInvalidTransactionStateNested)
class InaccessibleConfigErrorNested(InaccessibleConfigError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_InaccessibleConfigErrorNested

# Register InaccessibleConfigErrorNested in _exception:
_exception.InaccessibleConfigErrorNested_swigregister(InaccessibleConfigErrorNested)
class MissingConfigErrorNested(MissingConfigError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_MissingConfigErrorNested

# Register MissingConfigErrorNested in _exception:
_exception.MissingConfigErrorNested_swigregister(MissingConfigErrorNested)
class InvalidConfigErrorNested(InvalidConfigError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_InvalidConfigErrorNested

# Register InvalidConfigErrorNested in _exception:
_exception.InvalidConfigErrorNested_swigregister(InvalidConfigErrorNested)
class ConfigParserSectionNotFoundErrorNested(ConfigParserSectionNotFoundError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_ConfigParserSectionNotFoundErrorNested

# Register ConfigParserSectionNotFoundErrorNested in _exception:
_exception.ConfigParserSectionNotFoundErrorNested_swigregister(ConfigParserSectionNotFoundErrorNested)
class ConfigParserOptionNotFoundErrorNested(ConfigParserOptionNotFoundError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_ConfigParserOptionNotFoundErrorNested

# Register ConfigParserOptionNotFoundErrorNested in _exception:
_exception.ConfigParserOptionNotFoundErrorNested_swigregister(ConfigParserOptionNotFoundErrorNested)
class ConfigParserErrorNested(ConfigParserError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_ConfigParserErrorNested

# Register ConfigParserErrorNested in _exception:
_exception.ConfigParserErrorNested_swigregister(ConfigParserErrorNested)
class OptionValueNotSetErrorNested(OptionValueNotSetError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionValueNotSetErrorNested

# Register OptionValueNotSetErrorNested in _exception:
_exception.OptionValueNotSetErrorNested_swigregister(OptionValueNotSetErrorNested)
class OptionValueNotAllowedErrorNested(OptionValueNotAllowedError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionValueNotAllowedErrorNested

# Register OptionValueNotAllowedErrorNested in _exception:
_exception.OptionValueNotAllowedErrorNested_swigregister(OptionValueNotAllowedErrorNested)
class OptionInvalidValueErrorNested(OptionInvalidValueError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionInvalidValueErrorNested

# Register OptionInvalidValueErrorNested in _exception:
_exception.OptionInvalidValueErrorNested_swigregister(OptionInvalidValueErrorNested)
class OptionErrorNested(OptionError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionErrorNested

# Register OptionErrorNested in _exception:
_exception.OptionErrorNested_swigregister(OptionErrorNested)
class OptionBindsOptionNotFoundErrorNested(OptionBindsOptionNotFoundError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionBindsOptionNotFoundErrorNested

# Register OptionBindsOptionNotFoundErrorNested in _exception:
_exception.OptionBindsOptionNotFoundErrorNested_swigregister(OptionBindsOptionNotFoundErrorNested)
class OptionBindsOptionAlreadyExistsErrorNested(OptionBindsOptionAlreadyExistsError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionBindsOptionAlreadyExistsErrorNested

# Register OptionBindsOptionAlreadyExistsErrorNested in _exception:
_exception.OptionBindsOptionAlreadyExistsErrorNested_swigregister(OptionBindsOptionAlreadyExistsErrorNested)
class OptionBindsErrorNested(OptionBindsError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_OptionBindsErrorNested

# Register OptionBindsErrorNested in _exception:
_exception.OptionBindsErrorNested_swigregister(OptionBindsErrorNested)
class ReadOnlyVariableErrorNested(ReadOnlyVariableError):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_ReadOnlyVariableErrorNested

# Register ReadOnlyVariableErrorNested in _exception:
_exception.ReadOnlyVariableErrorNested_swigregister(ReadOnlyVariableErrorNested)
class NonLibdnf5ExceptionNested(NonLibdnf5Exception):
    r"""A template of the `NestedException` class that is thrown by the `throw_with_nested` function."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_destroy__ = _exception.delete_NonLibdnf5ExceptionNested

# Register NonLibdnf5ExceptionNested in _exception:
_exception.NonLibdnf5ExceptionNested_swigregister(NonLibdnf5ExceptionNested)

