From 836e67a24d5c30eacc3bd03d5c50f92f2def848f Mon Sep 17 00:00:00 2001 From: aditya-K2 Date: Fri, 12 Nov 2021 01:25:40 +0530 Subject: [PATCH] More informing error --- config/kMap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kMap.go b/config/kMap.go index eafd3e9..8564dff 100644 --- a/config/kMap.go +++ b/config/kMap.go @@ -40,7 +40,7 @@ func GetAsciiValue(s string) (int, error) { if (int(char) >= 65 && int(char) <= 90) || (int(char) >= 97 && int(char) <= 122) { return int(char), nil } else { - return -1, errors.New("Not Found") + return -1, errors.New("Not Found in the range") } } else if val, ok := SPECIAL_KEYS[s]; ok { return val, nil