- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for isNetworkError (0.06 seconds)
-
src/main/java/jcifs/smb/SmbOperationException.java
return System.currentTimeMillis() - operationStartTime; } /** * Check if this is a network-related error * * @return true if network error */ public boolean isNetworkError() { return errorCode.getCategory() == ErrorCategory.NETWORK; } /** * Check if this is an authentication error * * @return true if authentication error */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
cmd/storage-rest-client.go
xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/rest" xnet "github.com/minio/pkg/v3/net" xbufio "github.com/philhofer/fwd" "github.com/tinylib/msgp/msgp" ) func isNetworkError(err error) bool { if err == nil { return false } if nerr, ok := err.(*rest.NetworkError); ok { if down := xnet.IsNetworkOrHostDown(nerr.Err, false); down { return true }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertFalse(exception.isAuthenticationError()); assertTrue(exception.isFileSystemError()); assertFalse(exception.isTransientError()); // Transient error exception = new SmbOperationException(SmbOperationException.ErrorCode.SERVICE_UNAVAILABLE, "Server busy"); assertFalse(exception.isNetworkError()); assertFalse(exception.isAuthenticationError());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
cmd/peer-rest-client.go
ctx, cancel := context.WithTimeout(context.Background(), restClient.HealthCheckTimeout) defer cancel() respBody, err := healthClient.Call(ctx, peerRESTMethodHealth, nil, nil, -1) xhttp.DrainBody(respBody) return !isNetworkError(err) } var gridConn atomic.Pointer[grid.Connection] return &peerRESTClient{ host: peer, restClient: restClient, gridHost: gridHost, gridConn: func() *grid.Connection {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0)