update: RenderError
This commit is contained in:
parent
0911b47396
commit
c0e15a0179
1 changed files with 23 additions and 0 deletions
|
|
@ -1,4 +1,27 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
const RenderError = @import("renderer.zig").RenderError;
|
||||||
|
|
||||||
|
pub const ParserError = error{
|
||||||
|
ParseError,
|
||||||
|
InvalidAssignmentSyntax,
|
||||||
|
InvalidAutoescapeArgument,
|
||||||
|
InvalidCsrfTokenArgs,
|
||||||
|
InvalidDebugArgs,
|
||||||
|
InvalidForSyntax,
|
||||||
|
InvalidRegroupSyntax,
|
||||||
|
InvalidTemplateTag,
|
||||||
|
InvalidUrlSyntax,
|
||||||
|
InvalidWidthRatioSyntax,
|
||||||
|
OutOfMemory,
|
||||||
|
UnexpectedToken,
|
||||||
|
UnclosedBlock,
|
||||||
|
UnclosedComment,
|
||||||
|
UnclosedQuoteInAssignment,
|
||||||
|
UnclosedQuoteInUrl,
|
||||||
|
UnclosedTag,
|
||||||
|
UnclosedVariable,
|
||||||
|
UnclosedVerbatim,
|
||||||
|
};
|
||||||
|
|
||||||
pub const NodeType = enum {
|
pub const NodeType = enum {
|
||||||
text,
|
text,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue