aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/root.zig b/src/root.zig
index 9da89af..919c3ee 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -16,6 +16,7 @@ inline fn getErrorCode(err: Error) u8 {
Error.InvalidLink => 7,
Error.InvalidImage => 8,
Error.InvalidCodeBlock => 9,
+ Error.InvalidCallout => 10,
};
}
@@ -31,6 +32,7 @@ export fn typdown_getErrorString(code: u8) [*:0]const u8 {
7 => "invalid link",
8 => "invalid image",
9 => "invalid code block",
+ 10 => "invalid callout",
else => unreachable,
};
}