Class
OpenAIUserCanceledLoginException
IntelligenceX.OpenAI
Exception thrown when a user explicitly cancels an interactive login flow.
Inheritance
- OperationCanceledException
- OpenAIUserCanceledLoginException
Constructors
OpenAIUserCanceledLoginException 3 overloads
public OpenAIUserCanceledLoginException() #Initializes a new instance with the default message.
public OpenAIUserCanceledLoginException(string message) #Initializes a new instance with a custom message.
Parameters
- message string
public OpenAIUserCanceledLoginException(string message, Exception innerException) #Initializes a new instance with a custom message and inner exception.
Parameters
- message string
- innerException System.Exception
Inherited Methods
public virtual void GetObjectData(SerializationInfo info, StreamingContext context) #Inherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Inherited Properties
public CancellationToken CancellationToken { get; } #Inherited from OperationCanceledException
public MethodBase? TargetSite { get; } #Inherited from Exception
public virtual string Message { get; } #Inherited from Exception
public virtual IDictionary Data { get; } #Inherited from Exception
public Exception? InnerException { get; } #Inherited from Exception
public virtual string? HelpLink { get; set; } #Inherited from Exception
public virtual string? Source { get; set; } #Inherited from Exception
public int HResult { get; set; } #Inherited from Exception
public virtual string? StackTrace { get; } #Inherited from Exception
Fields
public const string DefaultMessage #Default error message used when the user cancels login.
Value:
Login canceled by user.