ApiExceptionErrorCode Property

Gets the error code associated with the exception.

Definition

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

Property Value

Int32

Remarks

The error code provides a numerical representation of the specific error that occurred, aiding in identifying and categorizing the issue.

See Also