Class ContentSafetyException
- Namespace
- FoundationaLLM.Common.Exceptions
- Assembly
- FoundationaLLM.Common.dll
Represents an error related to content safety.
public class ContentSafetyException : Exception, ISerializable
- Inheritance
-
ContentSafetyException
- Implements
- Inherited Members
- Extension Methods
Constructors
ContentSafetyException()
Initializes a new instance of the ContentSafetyException class with a default message.
public ContentSafetyException()
ContentSafetyException(string?)
Initializes a new instance of the ContentSafetyException class with its message set to message.
public ContentSafetyException(string? message)
Parameters
messagestringA string that describes the error.
ContentSafetyException(string?, Exception?)
Initializes a new instance of the ContentSafetyException class with its message set to message.
public ContentSafetyException(string? message, Exception? innerException)