ARMmbed/mbed-devices

View on GitHub
mbed_devices/_internal/exceptions.py

Summary

Maintainability
A
0 mins
Test Coverage
#
# Copyright (C) 2020 Arm Mbed. 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."""