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
messagestringA string that describes the error.
innerExceptionExceptionThe exception that is the cause of the current exception.
statusCodeintThe 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)