Skip to content

Commit d9c7e30

Browse files
committed
fix: setup RPCConnectionError with pointer
1 parent e014905 commit d9c7e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func NewErrors() Errors {
3232
return Errors{
3333
byType: map[reflect.Type]ErrorCode{},
3434
byCode: map[ErrorCode]reflect.Type{
35-
-1111111: reflect.TypeOf(RPCConnectionError{}),
35+
-1111111: reflect.TypeOf(&RPCConnectionError{}),
3636
},
3737
}
3838
}

0 commit comments

Comments
 (0)