So… pretty much how C does it.
Naturally the comptime part is new, but I wouldn't pick a language only because of that.
Probably more than enough if we leave C as a kind of portable Assembler role, to be used as much as Assembly is, and leave everything else to safer managed languages.
A model just like UNIX authors themselves have applied when creating Inferno with Limbo, with the learnings of UNIX and Plan 9.
Not a fan of @, !, .{ } all over the place, or the struct based imports that look like Javascript require() instead of a proper module system.
If Zig can foster a culture of handling errors this way, it'll be the way the community writ large handle errors.