1: <?php
2:
3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18:
19: class ErrorCode
20: {
21: public static $OK = 0;
22: public static $ValidateSignatureError = -40001;
23: public static $ParseXmlError = -40002;
24: public static $ComputeSignatureError = -40003;
25: public static $IllegalAesKey = -40004;
26: public static $ValidateAppidError = -40005;
27: public static $EncryptAESError = -40006;
28: public static $DecryptAESError = -40007;
29: public static $IllegalBuffer = -40008;
30: public static $EncodeBase64Error = -40009;
31: public static $DecodeBase64Error = -40010;
32: public static $GenReturnXmlError = -40011;
33: }
34:
35: ?>