firestring_set_error_handler() takes the name of a function
that takes no parameters and returns void. This function will
be called whenever firestring fails to allocate memory.
As memory allocation failures are fatal to most programs, firestring
does not return errors when functions fail to allocate memory; it
simply calls this function, which it expects to call
or in some way terminate execution of the program. It probably is
not safe to pass a function that returns, unless you have a framework
in place for passing the allocation failure information back to the
code calling the firestring function.
The default function calls