Skip to content

Report custom error types

Latest

Choose a tag to compare

@tomarrell tomarrell released this 14 Oct 14:05
· 1 commit to master since this release
c51f433

What's Changed

  • fix: determine error interface implementation in isError by @AdamMagued in #70. wrapcheck now reports custom error types from external packages, such as *ext.MyErr, when a function returns them as error. You may see new reports in code that returns these without wrapping. To ignore a specific constructor, add its signature to extraIgnoreSigs.

New Contributors

Full Changelog: v2.12.1...v2.13.0