1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\CpanelIntegrator\Enums; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | class ErrorCodes |
16: | { |
17: | public const DataIntegrity = 1001; |
18: | public const Validation_InvalidParameters = 1002; |
19: | public const AliasCreateFailed = 1003; |
20: | public const AliasUpdateFailed = 1004; |
21: | public const DomainOutsideTenant = 1005; |
22: | public const AliaMatchesExistingEmail = 1006; |
23: | public const AliasAlreadyExists = 1007; |
24: | public const SaleCreateFailed = 1008; |
25: | public const SaleUpdateFailed = 1009; |
26: | |
27: | |
28: | |
29: | |
30: | protected $aConsts = [ |
31: | 'DataIntegrity' => self::DataIntegrity, |
32: | 'Validation_InvalidParameters' => self::Validation_InvalidParameters, |
33: | 'AliasCreateFailed' => self::SaleCreateFailed, |
34: | 'AliasUpdateFailed' => self::SaleUpdateFailed, |
35: | 'DomainOutsideTenant' => self::DomainOutsideTenant, |
36: | 'AliaMatchesExistingEmail' => self::AliaMatchesExistingEmail, |
37: | 'AliasAlreadyExists' => self::AliasAlreadyExists |
38: | ]; |
39: | } |
40: | |