summaryrefslogtreecommitdiffstats
path: root/anta/inventory/exceptions.py
blob: dd5f106fea2d3bba38bb6c50847b6ce9ab58a532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (c) 2023-2024 Arista Networks, Inc.
# Use of this source code is governed by the Apache License 2.0
# that can be found in the LICENSE file.
"""Manage Exception in Inventory module."""


class InventoryRootKeyError(Exception):
    """Error raised when inventory root key is not found."""


class InventoryIncorrectSchema(Exception):
    """Error when user data does not follow ANTA schema."""