Table of Contents

Class ResourceProviderException

Namespace
FoundationaLLM.Common.Exceptions
Assembly
FoundationaLLM.Common.dll

Represents an error generated by a resource provider.

public class ResourceProviderException : HttpStatusCodeException, ISerializable
Inheritance
ResourceProviderException
Implements
Inherited Members
Extension Methods

Constructors

ResourceProviderException()

Initializes a new instance of the ResourceProviderException class with a default message.

public ResourceProviderException()

ResourceProviderException(string?, Exception?, int)

Initializes a new instance of the ResourceProviderException class with its message set to message.

public ResourceProviderException(string? message, Exception? innerException, int statusCode = 500)

Parameters

message string

A string that describes the error.

innerException Exception

The exception that is the cause of the current exception.

statusCode int

The HTTP status code associated with the exception.

ResourceProviderException(string?, int)

Initializes a new instance of the ResourceProviderException class with its message set to message.

public ResourceProviderException(string? message, int statusCode = 500)

Parameters

message string

A string that describes the error.

statusCode int

The HTTP status code associated with the exception.