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