// NewErrPermanentRedirect returns a new ErrPermanentRedirect with custom error message
NewErrPermanentRedirect returns a new ErrPermanentRedirect with custom error message
// NewErrPermanentRedirect returns a new ErrPermanentRedirect with custom error message
func NewErrPermanentRedirect(message string) error {
	return &ErrorWithStatusCode{
		error:      errors.New(message),
		statusCode: http.StatusPermanentRedirect,
	}
}
func NewErrPermanentRedirect ( message string ) error { return & ErrorWithStatusCode { error : errors . New ( message ) , statusCode : http . StatusPermanentRedirect , } }
NewErrPermanentRedirect returns a new ErrPermanentRedirect with custom error message
NewErrPermanentRedirect returns a new ErrPermanentRedirect with custom error message