Module nemo.types
Useful internal types.
Expand source code
# Copyright (C) 2022 Ben Elliston
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
"""Useful internal types."""
class UnreachableError(AssertionError):
"""For marking unreachable code."""
Classes
class UnreachableError (*args, **kwargs)
-
For marking unreachable code.
Expand source code
class UnreachableError(AssertionError): """For marking unreachable code."""
Ancestors
- builtins.AssertionError
- builtins.Exception
- builtins.BaseException