errorCode.php 485 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * error code 说明.
  4. * <ul>
  5. * <li>-41001: encodingAesKey 非法</li>
  6. * <li>-41003: aes 解密失败</li>
  7. * <li>-41004: 解密后得到的buffer非法</li>
  8. * <li>-41005: base64加密失败</li>
  9. * <li>-41016: base64解密失败</li>
  10. * </ul>
  11. */
  12. class ErrorCode
  13. {
  14. public static $OK = 0;
  15. public static $IllegalAesKey = -41001;
  16. public static $IllegalIv = -41002;
  17. public static $IllegalBuffer = -41003;
  18. public static $DecodeBase64Error = -41004;
  19. }
  20. ?>