Allow specifying Promise's exposeErrors and immediateCallbacks globally.