From 0e6dfbe580a32e388e33d81a05de23d9677e7c96 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 21 Mar 2020 15:15:33 +0100 Subject: [PATCH] make pattern collission error message explicit --- internal/config/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/errors.go b/internal/config/errors.go index f5e32e7..a4741e4 100644 --- a/internal/config/errors.go +++ b/internal/config/errors.go @@ -18,7 +18,7 @@ const ErrUnknownMethod = cerr("unknown HTTP method") const ErrFormat = cerr("invalid config format") // 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 const ErrInvalidPattern = cerr("must begin with a '/' and not end with")