From 0632f4c0242809a835791d113464a38bb19b4236 Mon Sep 17 00:00:00 2001 From: Sergey Kudriavtsev Date: Thu, 10 Nov 2022 19:00:37 +0100 Subject: [PATCH] fixing message text of NotFoundError --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index a10401da..4726a34c 100644 --- a/utils.go +++ b/utils.go @@ -12,7 +12,7 @@ type NotFoundError struct { } func (e *NotFoundError) Error() string { - return "not found" + return e.msg } func NewNotFoundError(msg string) *NotFoundError {