nilearn.exceptions
: Exceptions and warnings¶
Custom warnings and errors used across Nilearn.
Warnings¶
Custom warning related to masks. |
|
Custom warning to warn about not implemented features. |
Exceptions¶
Warns the user if no volumes were kept. |
|
|
Custom error type for dimension checking. |
|
Exception raised when meshes have incompatible dimensions. |
classDiagram BaseException <|-- Exception Exception <|-- AllVolumesRemovedError Exception <|-- TypeError Exception <|-- ValueError Exception <|-- Warning TypeError <|-- DimensionError UserWarning <|-- MaskWarning UserWarning <|-- NotImplementedWarning ValueError <|-- MeshDimensionError Warning <|-- UserWarning