mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24: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
|
// todo replace with static once <5.6 support is dropped
|
||||||
// see error.h
|
// see error.h
|
||||||
private static $exceptionMap = [
|
private static $exceptionMap = [
|
||||||
|
ErrorCodes::LogonFailure => '\Icewind\SMB\Exception\AuthenticationException',
|
||||||
ErrorCodes::PathNotFound => '\Icewind\SMB\Exception\NotFoundException',
|
ErrorCodes::PathNotFound => '\Icewind\SMB\Exception\NotFoundException',
|
||||||
ErrorCodes::ObjectNotFound => '\Icewind\SMB\Exception\NotFoundException',
|
ErrorCodes::ObjectNotFound => '\Icewind\SMB\Exception\NotFoundException',
|
||||||
ErrorCodes::NoSuchFile => '\Icewind\SMB\Exception\NotFoundException',
|
ErrorCodes::NoSuchFile => '\Icewind\SMB\Exception\NotFoundException',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue