mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 21:19:35 +00:00
config-tools: add user-defined errors
Create a file which contains user-defined errors for config-tools. Tracked-On: #5980 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
4d0880ebec
commit
160431096f
9
misc/config_tools/static_allocators/lib/error.py
Normal file
9
misc/config_tools/static_allocators/lib/error.py
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2021 Intel Corporation. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
class ResourceError(Exception):
|
||||
"""Raise this error when it is out of resource"""
|
Loading…
Reference in New Issue
Block a user