Current File : /home/inlingua/miniconda3/lib/python3.1/site-packages/conda_libmamba_solver/exceptions.py |
# Copyright (C) 2022 Anaconda, Inc
# Copyright (C) 2023 conda
# SPDX-License-Identifier: BSD-3-Clause
"""
Exceptions used in conda-libmamba-solver
"""
from conda.exceptions import UnsatisfiableError
class LibMambaUnsatisfiableError(UnsatisfiableError):
"""An exception to report unsatisfiable dependencies.
The error message is passed directly as a str.
"""
def __init__(self, message, **kwargs):
super(UnsatisfiableError, self).__init__(str(message))