Source code for swh.loader.exception
# Copyright (C) 2021-2023 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
[docs]
class NotFound(ValueError):
"""An exception raised when some information to retrieve is not found (e.g origin,
artifact, ...)
"""
pass
[docs]
class MissingOptionalDependency(ValueError):
"""An exception raised when an optional runtime dependency is missing."""
pass
[docs]
class UnsupportedChecksumLayout(ValueError):
"""An exception raised when loader does not support the checksum layout provided."""
pass