func InvalidParameter(err error) error {
	if err == nil {
		return nil
	}
	return errInvalidParameter{err}
}
InvalidParameter is a helper to create an error of the class with the same name from any error type
package errdefs  
import "context"
type errNotFound struct{ error }
func (errNotFound) NotFound() {}
func (e errNotFound) Cause() error {
	return e.error
}
func NotFound(err error) error {
	if err == nil {
		return nil
	}
	return errNotFound{err}
}
type errInvalidParameter struct{ error }
func (errInvalidParameter) InvalidParameter() {}
func (e errInvalidParameter) Cause() error {
	return e.error
}