exceptions.py 316 B

12345678910
  1. # -*- coding: utf-8 -*-
  2. from __future__ import absolute_import, unicode_literals
  3. from wechatpy.exceptions import WeChatException
  4. class InvalidCorpIdException(WeChatException):
  5. def __init__(self, errcode=-40005, errmsg='Invalid corp_id'):
  6. super(InvalidCorpIdException, self).__init__(errcode, errmsg)