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

hkid.newPatterNotMatchError   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
nop 0
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