Skip to content

exceptions

BundleNotFoundError

Bases: Exception

Bundle name is defined but is not available on server.

Parameters:

Name Type Description Default
bundle_name str

Name of bundle that was not found.

required
Source code in common/ayon_common/distribution/exceptions.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
class BundleNotFoundError(Exception):
    """Bundle name is defined but is not available on server.

    Args:
        bundle_name (str): Name of bundle that was not found.
    """

    def __init__(self, bundle_name):
        self.bundle_name = bundle_name
        super().__init__(
            f"Bundle '{bundle_name}' is not available on server"
        )