`old_error_handler` and `call_existing_error_handler` are both dependant to the last call of `registerErrorHandler`.