Is there a way to generate error set in comptime?

Are you looking for something like this?

1 Like