I have some data that I am inserting into my local SQLite database via the proxy (proxy.insert(data[])) bypassing the store. Obviously every thing works fine as long as the data is as the corresponding table expects it (eg. text for TEXT, integers for INTEGER, etc..) but when the data is wrong for the expected data type the AIR application throws an SQLErrorEvent as follows:

Code:
SQLError: 'Error #3132: Data type mismatch.', details:'could not convert text value to numeric value.', operation:'execute', detailID:'2300'
    at flash.data::SQLStatement/internalExecute()
    at flash.data::SQLStatement/execute()
So I put in an Event Listener for SQLErrorEvent attached to the Air.Connection object named for this example airConn:
Code:
airConn.addEventListener(air.SQLErrorEvent.ERROR, sqlErrorHandler);

function sqlErrorHandler(e){
 //error handling stuff here.
}
And this is where I am running into a problem:

Code:
TypeError: Value undefined does not allow function calls.
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
The reason I am posing this here is that I am using the ext-air wrappers for all my SQL calls and table manipulations. obviously the way I am doing this is wrong, how is it that I need to set up my listeners to catch these errors????