Table of Contents

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

message string

A 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)

Parameters

message string

A string that describes the error.

innerException Exception

The exception that is the cause of the current exception.