Re: [Development] Javascript exceptions from QML plugin

2013-11-19 Thread Alan Alpert
On Sat, Nov 16, 2013 at 7:15 AM, Pattyn, Kurt wrote: > Hi, > > is there a way to emit Javascript exceptions from a C++ QML plugin or more > general: what is the best way to indicate errors to QML from within a QML > plugin? > The reason I ask, is because I am implementing the W3C WebSocket API (

[Development] Javascript exceptions from QML plugin

2013-11-18 Thread Pattyn, Kurt
Hi, is there a way to emit Javascript exceptions from a C++ QML plugin or more general: what is the best way to indicate errors to QML from within a QML plugin? The reason I ask, is because I am implementing the W3C WebSocket API (see http://www.w3.org/TR/websockets). In several circumstances,