Skip to content

Commit

Permalink
chore: fix function name
Browse files Browse the repository at this point in the history
Signed-off-by: writegr <wellweek@outlook.com>
  • Loading branch information
writegr committed Apr 18, 2024
1 parent 2127c0a commit f61cda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/protocol/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}

0 comments on commit f61cda2

Please sign in to comment.