Completed
Pull Request — master (#138)
by
unknown
20:13
created

InvalidCorpIdException.__init__()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.125
Metric Value
cc 1
dl 0
loc 2
ccs 1
cts 2
cp 0.5
crap 1.125
rs 10
1
# -*- coding: utf-8 -*-
2 10
from __future__ import absolute_import, unicode_literals
3 10
from wechatpy.exceptions import WeChatException
4
5
6 10
class InvalidCorpIdException(WeChatException):
7
8 10
    def __init__(self, errcode=-40005, errmsg='Invalid corp_id'):
9
        super(InvalidCorpIdException, self).__init__(errcode, errmsg)
10