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