**Describe the bug** When asserting a pointer-error with `HaveOccurred` or `Succeed`, ginkgolinter detect the value as non error, and triggers a linter error. **To Reproduce** ```go type myErr struct { code int } func (e *myErr) Error() string { ... } ... err = &myErr{code: 404} Expect(err).To(HaveOccured()) ``` **Expected behavior** no linter error **Actual behavior** ginkgolinter mistakely detects `err` as not error type. **Environment:** - OS: linux - Version v0.18.3 **Additional context** Originally found here: https://github.com/containernetworking/cni/issues/1148