# ChatGptError.StatusCode property

Gets or sets the HTTP status code of the error.

```csharp
public int StatusCode { get; set; }
```

## See Also

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

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