diff --git a/errors.go b/errors.go index 35f8a1a..81aec4b 100644 --- a/errors.go +++ b/errors.go @@ -173,7 +173,7 @@ func (e errSessionDial) Is(target error) bool { return ok } -func (e errSessionDial) ErrorCodb() string { +func (e errSessionDial) ErrorCode() string { errMsg := e.Inner.Error()