Commit d3d234b
committed
exc(feat[DeprecatedError]): Add exception class for deprecated APIs
why: Replace deprecation warnings with immediate exceptions to enforce
migration to new APIs.
what:
- Add DeprecatedError exception inheriting from LibTmuxException
- Structured constructor with deprecated, replacement, and version params
- Clear error message format showing what was deprecated and what to use1 parent 6dccff6 commit d3d234b
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
22 | 42 | | |
23 | 43 | | |
24 | 44 | | |
| |||
0 commit comments