Skip to main content

process_error

Function process_error 

Source
pub async fn process_error<S, ST>(
    socket: &mut Framed<S, PgWireMessageServerCodec<ST>>,
    error: PgWireError,
    wait_for_sync: bool,
) -> Result<(), Error>
where S: AsyncRead + AsyncWrite + Unpin + Send + Sync + 'static,
Expand description

Send an error response to the client and update connection state accordingly.