cvat/utils/dataset_manifest/errors.py

22 lines
363 B
Python
Raw Normal View History

2025-09-16 01:19:40 +00:00
# Copyright (C) CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
class BasicError(Exception):
"""
The basic exception type for all exceptions in the library
"""
class InvalidVideoError(BasicError):
"""
Indicates an invalid video frame
"""
class InvalidManifestError(BasicError):
"""
Indicates an invalid manifest
"""