Server side validation response react admin

How can I display the error response message from my react-admin version 3.0 API server?

This variant does not work.
https://github.com/marmelab/react-admin/pull/871

enter the description of the image here