Function createDefaultUnhandledError