# Response.Error property

Gets or sets the error occurred during the chat completion execution, if any.

```csharp
public ChatGptError? Error { get; set; }
```

## See Also

* class [ChatGptError](../../ChatGptNet.Models/ChatGptError.md)
* class [Response](../Response.md)
* namespace [ChatGptNet.Models.Common](../../ChatGptNet.md)

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