mbed-os/tools/python/mbed_tools/devices/_internal/exceptions.py

20 lines
531 B
Python

#
# Copyright (c) 2020-2021 Arm Limited and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
"""Exceptions internal to the package."""
from mbed_tools.lib.exceptions import ToolsError
class SystemException(ToolsError):
"""Exception with regards to the underlying operating system."""
class NoBoardForCandidate(ToolsError):
"""Raised when board data cannot be determined for a candidate."""
class ResolveBoardError(ToolsError):
"""There was an error resolving the board for a device."""