make pattern collission error message explicit
This commit is contained in:
parent
d6c22b5ff0
commit
0e6dfbe580
|
@ -18,7 +18,7 @@ const ErrUnknownMethod = cerr("unknown HTTP method")
|
||||||
const ErrFormat = cerr("invalid config format")
|
const ErrFormat = cerr("invalid config format")
|
||||||
|
|
||||||
// ErrPatternCollision - there is a collision between 2 services' patterns (same method)
|
// ErrPatternCollision - there is a collision between 2 services' patterns (same method)
|
||||||
const ErrPatternCollision = cerr("invalid config format")
|
const ErrPatternCollision = cerr("pattern collision")
|
||||||
|
|
||||||
// ErrInvalidPattern - a service pattern is malformed
|
// ErrInvalidPattern - a service pattern is malformed
|
||||||
const ErrInvalidPattern = cerr("must begin with a '/' and not end with")
|
const ErrInvalidPattern = cerr("must begin with a '/' and not end with")
|
||||||
|
|
Loading…
Reference in New Issue