// WrapErrPermanentRedirect returns a new ErrPermanentRedirect, wrapping an existing error
WrapErrPermanentRedirect returns a new ErrPermanentRedirect, wrapping an existing error
// WrapErrPermanentRedirect returns a new ErrPermanentRedirect wrapping an existing error
func WrapErrPermanentRedirect(err error) error {
	return &ErrorWithStatusCode{
		error:      err,
		statusCode: http.StatusPermanentRedirect,
	}
}
func WrapErrPermanentRedirect ( err error ) error { return & ErrorWithStatusCode { error : err , statusCode : http . StatusPermanentRedirect , } }
WrapErrPermanentRedirect returns a new ErrPermanentRedirect, wrapping an existing error
WrapErrPermanentRedirect returns a new ErrPermanentRedirect wrapping an existing error