diff options
Diffstat (limited to 'src/root.zig')
| -rw-r--r-- | src/root.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/root.zig b/src/root.zig index 185e6b6..5062832 100644 --- a/src/root.zig +++ b/src/root.zig @@ -14,6 +14,7 @@ inline fn getErrorCode(err: Error) u8 { Error.InvalidTitleContent => 5, Error.IllegalPlacement => 6, Error.InvalidLink => 7, + Error.InvalidImage => 8, }; } @@ -27,6 +28,7 @@ export fn typdown_getErrorString(code: u8) [*:0]const u8 { 5 => "invalid title content", 6 => "illegal placement", 7 => "invalid link", + 8 => "invalid image", else => unreachable, }; } |
