Commit 350e08f
committed
models: Change TypeError to ValueError in validation logic
- Updated `_internal.py` to raise `ValueError` instead of `TypeError`
for credential validation errors, ensuring compliance with Pydantic
error handling best practices.
- Documented this change in AGENTS.md to guide contributors on proper
error types for validators.
Assisted-by: Codex1 parent 07e831b commit 350e08f
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | | - | |
| 1636 | + | |
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
| |||
0 commit comments