Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

485 B
Raw Blame
class ObjectNotFoundError(KeyError):
    """Raised when an object is not found while loading"""

    def __init__(self, name: str) -> None:
        super().__init__(f"Object with name {name} not found")


class InvalidObjectNameError(ValueError):
    """Raised when an object name is not a plain filename (e.g. it contains path separators)"""

    def __init__(self, name: str) -> None:
        super().__init__(f"Invalid object name {name!r}, potential directory traversal detected")