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 830ba1c..152170e 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -10,6 +10,7 @@ fn getErrorCode(err: Error) u8 {
Error.ModifierNotClosed => 4,
Error.InvalidTitleContent => 5,
Error.IllegalPlacement => 6,
+ Error.InvalidLink => 7,
};
}
@@ -22,6 +23,7 @@ export fn getErrorString(code: u8) [*:0]const u8 {
4 => "modifier not closed",
5 => "invalid title content",
6 => "illegal placement",
+ 7 => "invalid link",
else => unreachable,
};
}