Pardon me if this is a newbie question: I have implemented an Ext.Direct handler on my ASP.NET website and I am able to successfully call it from my Sencha Touch 2 application. When I make the call to the Ext.Direct server method, I pass a callback function that takes two parameters: 'data' and 'trans'.

I am now trying to implement error handling in the callback function. When no server exception occurs, the return value of the server method is received in 'data'. When a server exception does occur, 'data' is null and the Chrome debugger shows that the '_message' member of the 'trans' object contains an error message. I can't find any documentation of the 'trans' parameter and how to properly use it for error detection and handling. Could someone point me to the appropriate documentation?