summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 4956150a..d9a77c31 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -6401,6 +6401,7 @@ pub const Pardes = struct {
error.IsDirectory => "that is a directory, and not one that could be read",
error.PathTooLong => "that path is too long",
error.FileTooLarge => "that file is too large to open",
+ error.NotAFile => "that is a pipe or a device, not a document",
else => @errorName(err),
};
const content = try std.fmt.allocPrint(gpa, "cannot open\n\n\t{s}\n\n{s}\n", .{ path, why });