Robert Millan <[EMAIL PROTECTED]> writes: > On Thu, Jan 03, 2008 at 06:04:59PM +0200, Vesa Jääskeläinen wrote: >> >> About error handling: >> >> Why not call grub_error() with error message and just return from >> callback, and let prompt handle error processing (grub_print_error()). >> This would keep error reporting centralized. > > One thing I don't like about grub_error() is that I never know what value to > pick for the first parameter. I find this confusing :-/
You can add errors to the enum. -- Marco _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel