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 parser = @import("parser.zig");
|
||||||
const TemplateCache = @import("cache.zig").TemplateCache;
|
const TemplateCache = @import("cache.zig").TemplateCache;
|
||||||
|
|
||||||
pub const RenderError = FilterError || error{
|
pub const RenderError = error{
|
||||||
OutOfMemory,
|
InvalidCharacter,
|
||||||
InvalidSyntax,
|
InvalidSyntax,
|
||||||
UnknownVariable,
|
OutOfMemory,
|
||||||
UnknownFilter,
|
Overflow,
|
||||||
InvalidTemplate,
|
|
||||||
BlockNotFound,
|
|
||||||
CircularExtends,
|
|
||||||
FileNotFound,
|
|
||||||
AccessDenied,
|
|
||||||
FileTooBig,
|
|
||||||
NoSpaceLeft,
|
|
||||||
Unexpected,
|
Unexpected,
|
||||||
UnclosedTag,
|
UnsupportedExpression,
|
||||||
InvalidAutoescapeArgument,
|
} || FilterError || parser.ParserError || std.fs.File.OpenError;
|
||||||
UnclosedVariable,
|
|
||||||
UnclosedBlock,
|
|
||||||
UnclosedComment,
|
|
||||||
InvalidAssignmentSyntax,
|
|
||||||
UnclosedQuoteInAssignment,
|
|
||||||
InvalidForSyntax,
|
|
||||||
UnclosedVerbatim,
|
|
||||||
InvalidUrlSyntax,
|
|
||||||
UnclosedQuoteInUrl,
|
|
||||||
InvalidDebugArgs,
|
|
||||||
InvalidRegroupSyntax,
|
|
||||||
InvalidWidthRatioSyntax,
|
|
||||||
InvalidTemplateTag,
|
|
||||||
InvalidCsrfTokenArgs,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub const Renderer = struct {
|
pub const Renderer = struct {
|
||||||
context: *Context,
|
context: *Context,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue