openmv/tools/alif/utils/common/exceptions.py
2024-08-28 20:06:14 +02:00

20 lines
484 B
Python
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copyright (c) 2001-2020, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause OR Arms non-OSI source license
#
class RsaKeyLoadingError(Exception):
"""Raised when the function cannot load an Rsa key from a PEM file"""
pass
class ConfigParsingError(Exception):
"""Raised when trying to load a misconfigured CFG file"""
pass
class CertCreationError(Exception):
"""Raised when certificate creation fails"""
pass