# CodecNotFoundException

Package: [Microsoft.Orleans.Serialization](/orleans/docs/api/csharp/microsoft.orleans.serialization/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Exceptions.cs#L536)

```csharp
[Orleans.GenerateSerializer]
public sealed class CodecNotFoundException : SerializerException
```

No suitable serializer codec was found for a specified type.

## Constructors

- [CodecNotFoundException(string)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecnotfoundexception/constructors/constructor-string-976adbbb/)
