Commit 27e8062
committed
refactor(postgres): fix tests
This commit refactors the error handling in PgRecordDecoder by removing the redundant use of the MismatchedTypeError, streamlining the return of mismatched type errors. The changes enhance code clarity and maintainability in type decoding scenarios.1 parent 1498620 commit 27e8062
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 130 | + | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
0 commit comments