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

Hi. Were you able to show the error message in the UI?