Completed
Push — master ( d20a86...c3a2ff )
by iLex
07:03 queued 04:50
created

error.go   A

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 50%

Importance

Changes 0
Metric Value
cc 2
eloc 6
dl 0
loc 11
ccs 1
cts 2
cp 0.5
crap 2.5
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A hkid.patterNotMatchError.Error 0 2 1
A hkid.newPatterNotMatchError 0 2 1
1
package hkid
2
3
type patterNotMatchError struct {
4
}
5
6
func newPatterNotMatchError() *patterNotMatchError {
7 1
	return &patterNotMatchError{}
8
}
9
10
func (h patterNotMatchError) Error() string {
11
	return "Patter not match"
12
}
13