# EmbeddingException class

Represents errors that occur during Embeddings API invocation.

```csharp
public class EmbeddingException : HttpRequestException
```

## Public Members

| name | description |
| --- | --- |
| [EmbeddingException](EmbeddingException/EmbeddingException.md)(…) | Initializes a new instance of the [`EmbeddingException`](./EmbeddingException.md) class with the specified *error* details. |
| [Error](EmbeddingException/Error.md) { get; } | Gets the detailed error information. |

## See Also

* namespace [ChatGptNet.Exceptions](../ChatGptNet.md)
* [EmbeddingException.cs](https://github.com/marcominerva/ChatGptNet/tree/master/src/ChatGptNet/Exceptions/EmbeddingException.cs)

<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll -->
