Throw Error message in lifecycle hook doesnt change the error message display in the UI

thanks @taka
i reached to notification component but i want my error msg to be dynamic and provided with the messege written in ApplicationError(""); but in the Notification Component i can’t access this message