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