update: errors list
This commit is contained in:
parent
cf24e968ca
commit
7f47cf440b
1 changed files with 6 additions and 28 deletions
|
|
@ -11,36 +11,14 @@ const FilterError = @import("filters.zig").FilterError;
|
|||
const parser = @import("parser.zig");
|
||||
const TemplateCache = @import("cache.zig").TemplateCache;
|
||||
|
||||
pub const RenderError = FilterError || error{
|
||||
OutOfMemory,
|
||||
pub const RenderError = error{
|
||||
InvalidCharacter,
|
||||
InvalidSyntax,
|
||||
UnknownVariable,
|
||||
UnknownFilter,
|
||||
InvalidTemplate,
|
||||
BlockNotFound,
|
||||
CircularExtends,
|
||||
FileNotFound,
|
||||
AccessDenied,
|
||||
FileTooBig,
|
||||
NoSpaceLeft,
|
||||
OutOfMemory,
|
||||
Overflow,
|
||||
Unexpected,
|
||||
UnclosedTag,
|
||||
InvalidAutoescapeArgument,
|
||||
UnclosedVariable,
|
||||
UnclosedBlock,
|
||||
UnclosedComment,
|
||||
InvalidAssignmentSyntax,
|
||||
UnclosedQuoteInAssignment,
|
||||
InvalidForSyntax,
|
||||
UnclosedVerbatim,
|
||||
InvalidUrlSyntax,
|
||||
UnclosedQuoteInUrl,
|
||||
InvalidDebugArgs,
|
||||
InvalidRegroupSyntax,
|
||||
InvalidWidthRatioSyntax,
|
||||
InvalidTemplateTag,
|
||||
InvalidCsrfTokenArgs,
|
||||
};
|
||||
UnsupportedExpression,
|
||||
} || FilterError || parser.ParserError || std.fs.File.OpenError;
|
||||
|
||||
pub const Renderer = struct {
|
||||
context: *Context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue