fn set_pending_error( pending_error: &mut Option<BrotliEncoderThreadError>, error: BrotliEncoderThreadError, )