autobahn.Error now contains error, args and kwargs. According to the spec, there's always a "details" parameter available (it's a dict).
This should be stored in the Error class.
In the code, I see this in the handlers for the ERROR messages:
var details = msg[3];
var error = new Error(msg[4], msg[5], msg[6]);
And the details seems to be not used. So I think it would be relatively easy to implement.
I can make a PR if you like.
Thanks!
Edit: this details parameter seems to be ignored for other types of messages, too. I start to think, maybe it's intentional?