Short question: how is it supposed to achieve a centralized error handling for RPCRequests if you are not using Smart GWT Server?
Longer story:
As per the documentation of RPCResponse.getStatus():
I suppose that is why a supposed-to-be-centralized error handler set by RPCManager.setHandleErrorCallback() will never be called by the framework when Smart GWT server is not used and the server response HTTP status is OK, although the response contains error info in some structured way.
What is the suggested way of making centralized error handling work?
Thank you
Longer story:
As per the documentation of RPCResponse.getStatus():
When not using the Smart GWT server, the RPCManager makes no assumptions about the structure of the response, so the status code just reflects the httpResponseCode... Default value is 0.
What is the suggested way of making centralized error handling work?
Thank you
Comment