ierror.py 794 B

1234567891011121314151617181920
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #########################################################################
  4. # Author: jonyqin
  5. # Created Time: Thu 11 Sep 2014 01:53:58 PM CST
  6. # File Name: ierror.py
  7. # Description:定义错误码含义
  8. #########################################################################
  9. WXBizMsgCrypt_OK = 0
  10. WXBizMsgCrypt_ValidateSignature_Error = -40001
  11. WXBizMsgCrypt_ParseXml_Error = -40002
  12. WXBizMsgCrypt_ComputeSignature_Error = -40003
  13. WXBizMsgCrypt_IllegalAesKey = -40004
  14. WXBizMsgCrypt_ValidateCorpid_Error = -40005
  15. WXBizMsgCrypt_EncryptAES_Error = -40006
  16. WXBizMsgCrypt_DecryptAES_Error = -40007
  17. WXBizMsgCrypt_IllegalBuffer = -40008
  18. WXBizMsgCrypt_EncodeBase64_Error = -40009
  19. WXBizMsgCrypt_DecodeBase64_Error = -40010
  20. WXBizMsgCrypt_GenReturnXml_Error = -40011