I have yet to see a complete list of objects that can be input for the WinJS.Application.onerror handler.
So far I have seen objects with either:
errorUrl, errorMessage,
or
message or exception with or without stack
To write a proper log output I'd like to know what kind of error objects to expect here (Given that no-one in the app just does a throw "string"). The docs are...minimal on this.