From 92aec349c3d44751e298ddaafab68f1059471b5c Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 13 Dec 2020 13:26:44 +0300 Subject: [PATCH] config: add missing codec error Signed-off-by: Vasiliy Tolstov --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index d34514db..72eec7a9 100644 --- a/config/config.go +++ b/config/config.go @@ -12,6 +12,8 @@ var ( ) var ( + // ErrCodecMissing is returned when codec needed and not specified + ErrCodecMissing = errors.New("codec missing") // ErrInvalidStruct is returned when the target struct is invalid ErrInvalidStruct = errors.New("invalid struct specified") // ErrWatcherStopped is returned when source watcher has been stopped