pub enum PdfiumError {
}Expand description
Enumerations of errors that can occur in PDFium and PDFium-rs
Variants§
Unknown
An unknown or unspecified error occurred
FileError
Failed to open, read, or access the PDF file
FormatError
The PDF file format is invalid or corrupted
PasswordError
The PDF requires a password that was not provided or is incorrect
SecurityError
Security restrictions prevent the requested operation
PageError
Error related to page operations (invalid page number, page not found, etc.)
ColorError
Error in color space or color profile processing
IoError(String)
Input/output error with additional details
NullHandle
A handle or pointer is null when it should be valid
UnsupportedImageFormat
The requested image format is not supported for export/conversion
NotFound
The requested resource, object, or element was not found
InvokationFailed
A call to the PDFium library returned an error condition
LibraryError(String)
Error loading or initializing the PDFium library
ImageError
An error occurred in the image create
NulError
An error indicating that an interior nul byte was found in a string.
InvalidConfiguration(String)
An invalid or unclear render configuration was provided