Support flowing causation error to disconnect error handler in JS client