mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
better handling of authentication failure
This commit is contained in:
parent
6691355d93
commit
088fa6d54b
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class Parser {
|
|||
// todo replace with static once <5.6 support is dropped
|
||||
// see error.h
|
||||
private static $exceptionMap = [
|
||||
ErrorCodes::LogonFailure => '\Icewind\SMB\Exception\AuthenticationException',
|
||||
ErrorCodes::PathNotFound => '\Icewind\SMB\Exception\NotFoundException',
|
||||
ErrorCodes::ObjectNotFound => '\Icewind\SMB\Exception\NotFoundException',
|
||||
ErrorCodes::NoSuchFile => '\Icewind\SMB\Exception\NotFoundException',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue