Sets a callback to receive exceptions from the write thread.
Error handler should not throw or block.
Implemented in GoPxLSdk::GoCtrlChannelV1.