mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-28 19:00:52 +08:00
7 lines
141 B
Zig
7 lines
141 B
Zig
fn errorName(err: anyerror) [:0]const u8 {
|
|
return @errorName(err);
|
|
}
|
|
export const error_name: *const anyopaque = &errorName;
|
|
|
|
// compile
|