pub enum RenderError {
Show 15 variants
EngineCreation {
diag: Diagnostic,
},
InvalidFrontmatter {
diag: Diagnostic,
},
TemplateFailed {
diag: Diagnostic,
},
CompilationFailed {
diags: Vec<Diagnostic>,
},
FormatNotSupported {
diag: Diagnostic,
},
UnsupportedBackend {
diag: Diagnostic,
},
DynamicAssetCollision {
diag: Diagnostic,
},
DynamicFontCollision {
diag: Diagnostic,
},
InputTooLarge {
diag: Diagnostic,
},
YamlTooLarge {
diag: Diagnostic,
},
NestingTooDeep {
diag: Diagnostic,
},
OutputTooLarge {
diag: Diagnostic,
},
ValidationFailed {
diag: Diagnostic,
},
InvalidSchema {
diag: Diagnostic,
},
QuillConfig {
diag: Diagnostic,
},
}Expand description
Main error type for rendering operations
Variants§
EngineCreation
Failed to create rendering engine
Fields
diag: DiagnosticDiagnostic information
InvalidFrontmatter
Invalid YAML frontmatter in markdown document
Fields
diag: DiagnosticDiagnostic information
TemplateFailed
Template rendering failed
Fields
diag: DiagnosticDiagnostic information
CompilationFailed
Backend compilation failed with one or more errors
Fields
diags: Vec<Diagnostic>List of diagnostics
FormatNotSupported
Requested output format not supported by backend
Fields
diag: DiagnosticDiagnostic information
UnsupportedBackend
Backend not registered with engine
Fields
diag: DiagnosticDiagnostic information
DynamicAssetCollision
Dynamic asset filename collision
Fields
diag: DiagnosticDiagnostic information
DynamicFontCollision
Dynamic font filename collision
Fields
diag: DiagnosticDiagnostic information
InputTooLarge
Input size limits exceeded
Fields
diag: DiagnosticDiagnostic information
YamlTooLarge
YAML size exceeded maximum allowed
Fields
diag: DiagnosticDiagnostic information
NestingTooDeep
Nesting depth exceeded maximum allowed
Fields
diag: DiagnosticDiagnostic information
OutputTooLarge
Template output exceeded maximum size
Fields
diag: DiagnosticDiagnostic information
ValidationFailed
Validation failed for parsed document
Fields
diag: DiagnosticDiagnostic information
InvalidSchema
Invalid schema definition
Fields
diag: DiagnosticDiagnostic information
QuillConfig
Quill configuration error
Fields
diag: DiagnosticDiagnostic information
Implementations§
Source§impl RenderError
impl RenderError
Sourcepub fn diagnostics(&self) -> Vec<&Diagnostic>
pub fn diagnostics(&self) -> Vec<&Diagnostic>
Extract all diagnostics from this error