You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add documentation for pywatchman.WatchmanError
Summary:
## Instructions about RACER Diffs:
**Commandeer this diff (recommended) or land with accept2ship tag.**
**This diff was generated by Racer AI agent on behalf of [Brian Johnson](https://www.internalfb.com/profile/view/8646079) for T246430665. If the diff quality is poor, consider contacting the user to provide clearer instructions on the task.**
- If you are happy with the changes, commandeer it if minor edits are needed. (**we encourage commandeer to get the diff credit**)
- If you are not happy with the changes, please comment on the diff with clear actions and send it back to the author. Racer will pick it up and re-generate.
- If you really feel the Racer is not helping with this change (alas, some complex changes are hard for AI) feel free to abandon this diff.
- **For M10N reviewers:** as you review AI-generated diffs, we ask you to give them the same priority as human-generated diffs, and take action in a timely manner by either accepting, rejecting, or resigning as a reviewer. For diffs that don't meet the quality bar (e.g. code doesn't compile, not readable or introduces functionality regressions), we ask that you use the following hashtags to provide clear signals to improve our tools - `#monlowqualitydiff` `#monwrongreviewerdiff`
## Summary:
Added documentation string to the `WatchmanError` exception class in the pywatchman Python client library. The docstring describes:
- The purpose of the exception as the base class for watchman client errors
- When the exception is raised (communication failures, invalid responses, command errors)
- The attributes available on the exception (msg and cmd)
This improves code discoverability and helps developers understand how to properly use and handle watchman exceptions.
---
> Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/)
[Session](https://www.internalfb.com/confucius?session_id=22b42bbe-ca14-11f0-ab37-7115bb1e625e&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=22b42bbe-ca14-11f0-ab37-7115bb1e625e&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=430f145c-cd1e-11f0-aa72-5f870866344c&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=430f145c-cd1e-11f0-aa72-5f870866344c&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=5792f722-cf7b-11f0-9ea6-ff4b76a4ce47&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=5792f722-cf7b-11f0-9ea6-ff4b76a4ce47&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=6ca100a0-d1d8-11f0-9bd5-3390cd8a767b&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=6ca100a0-d1d8-11f0-9bd5-3390cd8a767b&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=f2d59820-d435-11f0-b97b-8d212eb8d030&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=f2d59820-d435-11f0-b97b-8d212eb8d030&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=49530cd2-d693-11f0-9cd9-69ba5c921554&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=49530cd2-d693-11f0-9cd9-69ba5c921554&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=0cfcce5c-d8f1-11f0-af3d-8bf71b43c89e&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=0cfcce5c-d8f1-11f0-af3d-8bf71b43c89e&tab=Trace)
Reviewed By: xavierd
Differential Revision: D87866042
fbshipit-source-id: b75a10db7926284a5cf542cc635c49b039709340