Hi everyone, I have Problem with using wp_die()

I used Class to embed functions in function.php file. And also used namespace to call ajax requests. So no conflicts in displaying messages