mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Add error exception for ECONNRESET
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
26ba16309d
commit
acd992ad8c
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ namespace Icewind\SMB\Native;
|
||||||
|
|
||||||
use Icewind\SMB\Exception\AlreadyExistsException;
|
use Icewind\SMB\Exception\AlreadyExistsException;
|
||||||
use Icewind\SMB\Exception\ConnectionRefusedException;
|
use Icewind\SMB\Exception\ConnectionRefusedException;
|
||||||
|
use Icewind\SMB\Exception\ConnectionResetException;
|
||||||
use Icewind\SMB\Exception\Exception;
|
use Icewind\SMB\Exception\Exception;
|
||||||
use Icewind\SMB\Exception\FileInUseException;
|
use Icewind\SMB\Exception\FileInUseException;
|
||||||
use Icewind\SMB\Exception\ForbiddenException;
|
use Icewind\SMB\Exception\ForbiddenException;
|
||||||
|
|
@ -48,6 +49,7 @@ class NativeState {
|
||||||
22 => InvalidArgumentException::class,
|
22 => InvalidArgumentException::class,
|
||||||
28 => OutOfSpaceException::class,
|
28 => OutOfSpaceException::class,
|
||||||
39 => NotEmptyException::class,
|
39 => NotEmptyException::class,
|
||||||
|
104 => ConnectionResetException::class,
|
||||||
110 => TimedOutException::class,
|
110 => TimedOutException::class,
|
||||||
111 => ConnectionRefusedException::class,
|
111 => ConnectionRefusedException::class,
|
||||||
112 => HostDownException::class,
|
112 => HostDownException::class,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue