Skip to content

Commit ce78e3c

Browse files
committed
extend known error strings
1 parent 845988c commit ce78e3c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/db/errors.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ var KnownErrors = map[string]string{
3333
"resource limit exceeded": models.NetErrorResourceLimitExceeded,
3434
"Write on stream": models.NetErrorWriteOnStream,
3535
"can't assign requested address": models.NetErrorCantAssignRequestedAddress, // transient error
36+
"cannot assign requested address": models.NetErrorCantAssignRequestedAddress, // transient error
3637
"connection gated": models.NetErrorConnectionGated, // transient error
3738
}
3839

@@ -52,6 +53,7 @@ var knownErrorsPrecedence = []string{
5253
"i/o timeout",
5354
"RPC timeout",
5455
"no recent network activity",
56+
"cannot assign requested address",
5557
"can't assign requested address",
5658
"connection gated",
5759
"connection refused",

0 commit comments

Comments
 (0)