xrandr does not signal failure in a way that is easily usable in a shell script (for example). As far as I can see there is exactly one situation where a failure is signaled instead of for every possible failure.
xrandr 1.4 now returns error codes for many more cases, but I haven't checked that it got all of them.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xrandr/issues/15.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.