Displaying custom error message in Admin UI in Strapi 4.8.x

Problem is here again. Just upgraded to latest Strapi v4.10.6.

package.json

    "@strapi/strapi": "4.10.6",
    "@strapi/plugin-users-permissions": "4.10.6",
    "@strapi/provider-email-sendgrid": "4.10.6",
    "@strapi/provider-upload-cloudinary": "4.10.6"

Code:
throw new utils.errors.ApplicationError("Custom error message");

Network shows:

{
"data":null,
"error":{
 "status":400,
 "name":"ApplicationError",
 "message":"Custom error message",
 "details":{}
 }
}

But UI shows: “Warning: Request failed with status code 400” 🥲