ApiExceptionErrorStatus Property

Gets the status of the error represented as a string.

Definition

Namespace: GenerativeAI.Exceptions
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public string ErrorStatus { get; }

Property Value

String

Remarks

This property contains a textual representation of the status of the error. It is typically used to provide additional context or categorization of the error, such as "BadRequest", "Unauthorized", or similar status indicators.

See Also