mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Add exceptions for user errors
This commit is contained in:
parent
bf407bedec
commit
74b571fc77
1 changed files with 5 additions and 1 deletions
|
@ -121,6 +121,10 @@ class ExceptionHandler {
|
|||
return error.contains("errno = 103") || // SocketException: Software caused connection abort
|
||||
error.contains("errno = 9") || // SocketException: Bad file descriptor
|
||||
error.contains("errno = 32") || // SocketException: Write failed (OS Error: Broken pipe)
|
||||
error.contains("errno = 54"); // SocketException: Connection reset by peer
|
||||
error.contains("errno = 60") || // SocketException: Operation timed out
|
||||
error.contains("errno = 54") || // SocketException: Connection reset by peer
|
||||
error.contains("errno = 49") || // SocketException: Can't assign requested address
|
||||
error.contains("PERMISSION_NOT_GRANTED") ||
|
||||
error.contains("errno = 28"); // OS Error: No space left on device
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue