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