If your OData service returns the error message then you can access it using the oError parameter in the error callback function of the read method of ODataModel.
Reference - SAPUI5 SDK - Demo Kit
Regards,
Saurabh
If your OData service returns the error message then you can access it using the oError parameter in the error callback function of the read method of ODataModel.
Reference - SAPUI5 SDK - Demo Kit
Regards,
Saurabh