Don't retry requests that have already been cancelled

This commit is contained in:
Lukas Wirth 2022-09-07 13:52:55 +02:00
parent b16b0413dc
commit 1a6c1595fe
7 changed files with 28 additions and 15 deletions

View file

@ -98,7 +98,7 @@ pub struct ResponseError {
}
#[derive(Clone, Copy, Debug)]
#[allow(unused)]
#[non_exhaustive]
pub enum ErrorCode {
// Defined by JSON RPC:
ParseError = -32700,