make pattern collission error message explicit
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Adrien Marquès 2020-03-21 15:15:33 +01:00
parent d6c22b5ff0
commit 0e6dfbe580
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 1 additions and 1 deletions

View File

@ -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")