We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d3c9c commit 7b1b831Copy full SHA for 7b1b831
doc/langref/values.zig
@@ -36,7 +36,7 @@ pub fn main() void {
36
});
37
38
// error union
39
- var number_or_error: anyerror!i32 = error.ArgNotFound;
+ var number_or_error: anyerror!i32 = error.ArbitraryErrorName;
40
41
print("\nerror union 1\ntype: {}\nvalue: {!}\n", .{
42
@TypeOf(number_or_error),
0 commit comments