From f61cda2a7e728acd7d6d402774e3c224fd80a9b3 Mon Sep 17 00:00:00 2001 From: writegr Date: Thu, 18 Apr 2024 12:09:18 +0800 Subject: [PATCH] chore: fix function name Signed-off-by: writegr --- internal/protocol/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/protocol/errors.go b/internal/protocol/errors.go index 5c2e89e63..dfdaf0d9a 100644 --- a/internal/protocol/errors.go +++ b/internal/protocol/errors.go @@ -45,7 +45,7 @@ func (e *FatalClientErr) Parent() error { return e.ParentErr } -// NewClientErr creates a ClientErr with the supplied human and machine readable strings +// NewFatalClientErr creates a ClientErr with the supplied human and machine readable strings func NewFatalClientErr(parent error, code string, description string) *FatalClientErr { return &FatalClientErr{parent, code, description} }