rioka
17 Jan 2012, 8:10 AM
Hi
I'd like to display error information when there is an error within proxy operations, ie loading data.
I've written code for proxy exception event
...
listeners: {
exception: function(proxy, response, operation) {
// show error message to users
}
}
...
This way I can actually display error messages, except for error connecting to the remote server; for example, if the remote server is down, I do have exceptions raised, but I cannot get any further information about the error. No one of the arguments for exception handler (proxy, response and operation) contains a code or description for the error in this case, so I have to way to know where the problem is.
Any suggestions?
I'd like to display error information when there is an error within proxy operations, ie loading data.
I've written code for proxy exception event
...
listeners: {
exception: function(proxy, response, operation) {
// show error message to users
}
}
...
This way I can actually display error messages, except for error connecting to the remote server; for example, if the remote server is down, I do have exceptions raised, but I cannot get any further information about the error. No one of the arguments for exception handler (proxy, response and operation) contains a code or description for the error in this case, so I have to way to know where the problem is.
Any suggestions?