Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

Commit b5d4862

Browse files
committed
feat: rename
1 parent beba9dc commit b5d4862

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bindings/encoding/custom_error.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ func TryParsingCustomError(originalError error) error {
3131
}
3232

3333
for _, customErrors := range customErrorMaps {
34-
for _, cuscustomError := range customErrors {
35-
if strings.HasPrefix(cuscustomError.ID.Hex(), errData) {
36-
return errors.New(cuscustomError.Name)
34+
for _, customError := range customErrors {
35+
if strings.HasPrefix(customError.ID.Hex(), errData) {
36+
return errors.New(customError.Name)
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)