Plumb errnum and ExtendedException through the new debugger error hook h...

...andler.