Source code for nunavut._exceptions

#
# Copyright (C) OpenCyphal Development Team  <opencyphal.org>
# Copyright Amazon.com Inc. or its affiliates.
# SPDX-License-Identifier: MIT
#
"""
Exception types thrown by the core library.

"""


[docs] class InternalError(RuntimeError): """Internal, opaque error within Nunavut. This exception is a "should never happen" exception. If caught you've probably hit a bug. This is the only exception type within the library that can be use where no unit tests are covering the error (i.e. pragma: no cover branches). """