Skip to main content

PdfError

Trait PdfError 

Source
pub trait PdfError: Error {
    // Required methods
    fn code(&self) -> &str;
    fn help(&self) -> Option<String>;

    // Provided method
    fn docs_url(&self) -> String { ... }
}
Expand description

The central Error trait for all PDFluent operations.

Required Methods§

Source

fn code(&self) -> &str

Machine-readable error code (bijv. “PASSWORD_REQUIRED”)

Source

fn help(&self) -> Option<String>

Menselijk leesbare help tekst met code example

Provided Methods§

Source

fn docs_url(&self) -> String

URL naar de error docs

Implementors§