summaryrefslogtreecommitdiffstats
path: root/anta/inventory/exceptions.py
blob: 90a672f61ef2a568cb8ed4230976811b24f4f9c0 (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 InventoryIncorrectSchemaError(Exception):
    """Error when user data does not follow ANTA schema."""