[GRASS-dev] G_error()

Hamish hamish_b at yahoo.com
Tue Apr 12 16:26:38 EDT 2011

Martin wrote:
> I would propose adding non-fatal error reporting function
> to gislib.
> New G_error() would act in the similar way as G_fatal_error()
> except of calling exit(). Currently if you want to report error
> message without calling exit() you need to use G_warning()
> instead.


can you provide an example of for when it would be useful?
under what conditions is an error non-fatal?

i.e. when would it be preferable over simply using
 G_important_message("ERROR: ...") ?


More information about the grass-dev mailing list