# ConversionException class

Namespace: [Grasshopper2.Types.Conversion](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.conversion.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class ConversionException : Exception
```

Exception type thrown by failed type conversions.

## Constructors

- [ConversionException](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.conversion.conversionexception/ctor.md)

## Properties

- [From](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.conversion.conversionexception/from.md)
- [To](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.conversion.conversionexception/to.md)
