From 1f18486c678a31a93e94a0c74f212c7f843ac9fd Mon Sep 17 00:00:00 2001 From: IntegratedQuantum Date: Sun, 2 Mar 2025 18:35:54 +0100 Subject: [PATCH] List available tool function types when not found. --- src/items.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items.zig b/src/items.zig index 997dfccd..68931830 100644 --- a/src/items.zig +++ b/src/items.zig @@ -381,7 +381,7 @@ const FunctionType = enum { fn fromString(string: []const u8) FunctionType { return std.meta.stringToEnum(FunctionType, string) orelse { - std.log.err("Couldn't find function type {s}. Replacing it with linear", .{string}); + std.log.err("Couldn't find function type {s}. Replacing it with linear. Available functions are: {s}", .{string, std.meta.fieldNames(FunctionType)}); return .linear; }; }