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

Hello there again! Using Strapi v4.10.6. Can’t display error message in beforeDelete hooks, and while throwing Application Error in content-manager/strapi-server.js overwritten update/delete methods. It just shows standart error. Anyone has modern solution to this problem?