mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-24 11:45:27 +01:00
b1264ef1e3
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
24 lines
530 B
Python
Executable File
24 lines
530 B
Python
Executable File
## @file
|
|
# This file is used to define common Exceptions class used in python tools
|
|
#
|
|
# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
## Exceptions used in Expression
|
|
class EvaluationException(Exception):
|
|
pass
|
|
|
|
class BadExpression(EvaluationException):
|
|
pass
|
|
|
|
class WrnExpression(Exception):
|
|
pass
|
|
|
|
## Exceptions used in macro replacements
|
|
class MacroException(Exception):
|
|
pass
|
|
|
|
class SymbolNotFound(MacroException):
|
|
pass
|
|
|