[GRASS-dev] G_error in Vlib

Hamish hamish_nospam at yahoo.com
Tue Jun 6 06:44:54 EDT 2006


Wolf:
> >> I need G_error (function that does the same thing as G_fatal_error
> >> except that it does not exit). Any objections to me adding it (as
> >> soon as I get my CVS working again)? I think it can be good to have
> >> a possibility of issuing an error message that doesn't call exit.
Glynn:
> > That's essentially what G_warning() does.
> >
Wolf:
> Yes but it puts a 'WARNING: '-prefix and not a 'ERROR: '-prefix. (;


So what's wrong with "WARNING:" ?   what's the situation?

what about:  G_message("ERROR: zombies");


If it must happen, perhaps it should be called G_nonfatal_error() or
something more explicit than G_error()?



Hamish




More information about the grass-dev mailing list