fn formatMessage(self: []const u8, w: *std.Io.Writer) std.Io.Writer.Error!void 67
68
69
70
71
72 fn formatMessage(self: []const u8, w: *std.Io.Writer) std.Io.Writer.Error!void {
// Just writes the string for now, but we're keeping this behind a formatter so we have
// the option to extend it in the future to print more advanced messages (like `Error`
// does) without breaking the API.
try w.writeAll(self);
}