Function fatal [src]
Alias for std.process.fatal
Logs an error and then terminates the process with exit code 1.
Prototype
pub fn fatal(comptime format: []const u8, format_arguments: anytype) noreturn
Parameters
format: []const u8
Source
pub fn fatal(comptime format: []const u8, format_arguments: anytype) noreturn {
std.log.err(format, format_arguments);
exit(1);
}