1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\SharedFiles\Enums; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | class ErrorCodes |
16: | { |
17: | public const NotPossibleToShareWithYourself = 1000; |
18: | public const UnknownError = 1001; |
19: | public const UserNotExists = 1002; |
20: | public const DuplicatedUsers = 1003; |
21: | public const NotPossibleToMoveSharedFileToSharedFolder = 1005; |
22: | public const NotPossibleToMoveEncryptedFileToSharedFolder = 1006; |
23: | public const NotPossibleToShareDirectoryInEcryptedStorage = 1007; |
24: | public const IncorrectFilename = 1008; |
25: | |
26: | |
27: | |
28: | |
29: | protected $aConsts = [ |
30: | 'NotPossibleToShareWithYourself' => self::NotPossibleToShareWithYourself, |
31: | 'UnknownError' => self::UnknownError, |
32: | 'UserNotExists' => self::UserNotExists, |
33: | 'DuplicatedUsers' => self::DuplicatedUsers, |
34: | 'NotPossibleToMoveSharedFileToSharedFolder' => self::NotPossibleToMoveSharedFileToSharedFolder, |
35: | 'NotPossibleToMoveEncryptedFileToSharedFolder' => self::NotPossibleToMoveEncryptedFileToSharedFolder, |
36: | 'NotPossibleToShareDirectoryInEcryptedStorage' => self::NotPossibleToShareDirectoryInEcryptedStorage, |
37: | ]; |
38: | } |
39: | |