Handle async errors and promise rejections | BeforeMerge Rules | BeforeMerge