threads::policies::callback_notifier::
    on_error_type
    get_thread_on_error_func()

Description

Retrieve the currently installed error handler function. This is a function that will be called by pika for each newly created thread that is made known to the runtime. pika stores exactly one such function reference, thus the caller needs to make sure any newly registered error function chains into the previous one (see\a

Declared at: libs/pika/runtime/include/pika/runtime/thread_hooks.hpp:53

Returns

The currently installed error handler function.