1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\Files\Enums; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | class ErrorCodes |
16: | { |
17: | public const NotFound = 4001; |
18: | public const NotPermitted = 4002; |
19: | public const AlreadeExists = 4003; |
20: | public const CantDeleteSharedItem = 4004; |
21: | public const CannotCopyOrMoveItemToItself = 4005; |
22: | public const NotPossibleToMoveSharedFileToCorporateStorage = 4006; |
23: | |
24: | |
25: | |
26: | |
27: | protected $aConsts = [ |
28: | 'NotFound' => self::NotFound, |
29: | 'NotPermitted' => self::NotPermitted, |
30: | 'AlreadeExists' => self::AlreadeExists, |
31: | 'CantDeleteSharedItem' => self::CantDeleteSharedItem, |
32: | 'CannotCopyOrMoveItemToItself' => self::CannotCopyOrMoveItemToItself, |
33: | 'NotPossibleToMoveSharedFileToCorporateStorage' => self::NotPossibleToMoveSharedFileToCorporateStorage, |
34: | ]; |
35: | } |
36: | |