Module pvinspect.data.exceptions
Expand source code
class UnsupportedModalityException(BaseException):
"""This exception indicates that the given imaging modality is not supported"""
def __init__(self, name):
super().__init__('Modality "{}" is not supported'.format(name))
Classes
class UnsupportedModalityException (name)
-
This exception indicates that the given imaging modality is not supported
Expand source code
class UnsupportedModalityException(BaseException): """This exception indicates that the given imaging modality is not supported""" def __init__(self, name): super().__init__('Modality "{}" is not supported'.format(name))
Ancestors
- builtins.BaseException