Class FileTooLargeException
- Namespace
- GenerativeAI.Exceptions
- Assembly
- GenerativeAI.dll
Represents an exception that is thrown when a file exceeds the maximum allowed size.
public class FileTooLargeException : Exception, ISerializable
- Inheritance
-
FileTooLargeException
- Implements
- Inherited Members
- Extension Methods
Constructors
FileTooLargeException()
Initializes a new instance of the FileTooLargeException class.
public FileTooLargeException()
FileTooLargeException(string)
Initializes a new instance of the FileTooLargeException class with the specified file name.
public FileTooLargeException(string fileName)
Parameters
fileNamestringThe name of the file that is too large.
FileTooLargeException(string, Exception)
Initializes a new instance of the FileTooLargeException class with a specified error message and inner exception.
public FileTooLargeException(string message, Exception innerException)