pub async fn process_error<S, ST>(
socket: &mut Framed<S, PgWireMessageServerCodec<ST>>,
error: PgWireError,
wait_for_sync: bool,
) -> Result<(), Error>Expand description
Send an error response to the client and update connection state accordingly.