Module mbed_devices.exceptions

Public exceptions raised by the package.

Expand source code
#
# Copyright (C) 2020 Arm Mbed. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
"""Public exceptions raised by the package."""
from mbed_tools_lib.exceptions import ToolsError


class MbedDevicesError(ToolsError):
    """Base public exception for the mbed-devices package."""


class DeviceLookupFailed(MbedDevicesError):
    """Failed to look up data associated with the device."""

Classes

class DeviceLookupFailed (...)

Failed to look up data associated with the device.

Expand source code
class DeviceLookupFailed(MbedDevicesError):
    """Failed to look up data associated with the device."""

Ancestors

  • MbedDevicesError
  • mbed_tools_lib.exceptions.ToolsError
  • builtins.Exception
  • builtins.BaseException
class MbedDevicesError (...)

Base public exception for the mbed-devices package.

Expand source code
class MbedDevicesError(ToolsError):
    """Base public exception for the mbed-devices package."""

Ancestors

  • mbed_tools_lib.exceptions.ToolsError
  • builtins.Exception
  • builtins.BaseException

Subclasses