Documentation
Table of Contents

Constructor AIProviderInternalException

Namespace
IntentSharp.Providers
Assembly
IntentSharp.dll

AIProviderInternalException(string, int, string?)

Creates a transient exception for a provider service error.

public AIProviderInternalException(string message, int statusCode = 500, string? providerName = null)

Parameters

message string

What failed.

statusCode int

The HTTP status. Default 500.

providerName string

The provider's name, or null when it is not known.

AIProviderInternalException(string, Exception, int, string?)

Creates a transient exception for a provider service error, with the exception that caused it.

public AIProviderInternalException(string message, Exception innerException, int statusCode = 500, string? providerName = null)

Parameters

message string

What failed.

innerException Exception

The exception that caused the failure.

statusCode int

The HTTP status. Default 500.

providerName string

The provider's name, or null when it is not known.