github.com/goverter/patherr provides an implementation for the goverter
feature wrapErrorsUsing. You can use directly or as a
template for creating your own implementation.
Use it by configuring wrapErrorsUsing on your conversion
interface:
// goverter:converter
// goverter:wrapErrorsUsing github.com/goverter/patherr
type Converter interface {
Convert(Input) (Output, error)
}Report bugs and request features in the github.com/jmattheis/goverter repository.