(&mut self)
| 130 | #[cold] |
| 131 | #[inline(never)] |
| 132 | pub(super) fn parse_error(&mut self) -> Error { |
| 133 | match backend::Message::parse(&mut self.buf) { |
| 134 | Err(e) => Error::from(e), |
| 135 | Ok(Some(backend::Message::ErrorResponse(body))) => Error::db(body.fields()), |
| 136 | _ => Error::unexpected(), |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | pub(super) enum ResponseMessage { |