Sync client.pxd with latest mpv.
Add command_error.