# DimensionalityMismatchException class

Namespace: [Grasshopper2.Geometry.Clustering](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.geometry.clustering.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class DimensionalityMismatchException : Exception
```

Exception used when elements of different dimensionality interact.

## Constructors

- [DimensionalityMismatchException](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.dimensionalitymismatchexception/ctor.md): Create a dimensionality exception.
